Discard on a 404 as well

This commit is contained in:
Mark Felder 2023-12-29 00:31:05 -05:00
parent 7ebca7ecfa
commit 141702538b

View file

@ -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