Discard on a 404 as well
This commit is contained in:
parent
7ebca7ecfa
commit
141702538b
@ -124,6 +124,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
|
|||||||
|
|
||||||
case response do
|
case response do
|
||||||
%{status: 403} -> {:discard, :forbidden}
|
%{status: 403} -> {:discard, :forbidden}
|
||||||
|
%{status: 404} -> {:discard, :not_found}
|
||||||
%{status: 410} -> {:discard, :not_found}
|
%{status: 410} -> {:discard, :not_found}
|
||||||
_ -> {:error, response}
|
_ -> {:error, response}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user