Do not retry fetching deleted objects

This commit is contained in:
Mark Felder 2023-12-09 17:43:54 -05:00
parent 4039106500
commit 82724f6664

View File

@ -51,6 +51,7 @@ defmodule Pleroma.Workers.ReceiverWorker do
{:error, {:error, {:validate, reason}}} -> {:cancel, reason}
{:error, {:reject, reason}} -> {:cancel, reason}
{:signature, false} -> {:error, :invalid_signature}
{:error, {:error, reason = "Object has been deleted"}} -> {:cancel, reason}
e -> e
end
end