diff options
author | Mark Felder <feld@feld.me> | 2023-12-29 00:31:05 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2023-12-29 00:31:05 -0500 |
commit | 141702538b7ebdc501425b09928332d345c2b577 (patch) | |
tree | 38220e275a0f3745626c0e76afe6a77a9bdd54ab | |
parent | 7ebca7ecfa93f41d9eac2dcefa4b2e55f1b0c4ac (diff) | |
download | pleroma-141702538b7ebdc501425b09928332d345c2b577.tar.gz pleroma-141702538b7ebdc501425b09928332d345c2b577.zip |
Discard on a 404 as well
-rw-r--r-- | lib/pleroma/web/activity_pub/publisher.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pleroma/web/activity_pub/publisher.ex b/lib/pleroma/web/activity_pub/publisher.ex index 1ce920e81..282cc672a 100644 --- 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 |