mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-05 16:39:47 +00:00
Discard on a 404 as well
This commit is contained in:
parent
7ebca7ecfa
commit
141702538b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue