logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 141702538b7ebdc501425b09928332d345c2b577
parent 7ebca7ecfa93f41d9eac2dcefa4b2e55f1b0c4ac
Author: Mark Felder <feld@feld.me>
Date:   Fri, 29 Dec 2023 00:31:05 -0500

Discard on a 404 as well

Diffstat:

Mlib/pleroma/web/activity_pub/publisher.ex1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex @@ -124,6 +124,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do case response do %{status: 403} -> {:discard, :forbidden} + %{status: 404} -> {:discard, :not_found} %{status: 410} -> {:discard, :not_found} _ -> {:error, response} end