Cancel the job if the signature is still invalid after a refetch of the public key
This commit is contained in:
parent
d417f73218
commit
223c1bac8d
@ -50,7 +50,7 @@ defmodule Pleroma.Workers.ReceiverWorker do
|
||||
{:error, {:validate_object, reason}} -> {:cancel, reason}
|
||||
{:error, {:error, {:validate, reason}}} -> {:cancel, reason}
|
||||
{:error, {:reject, reason}} -> {:cancel, reason}
|
||||
{:signature, false} -> {:error, :invalid_signature}
|
||||
{:signature, false} -> {:cancel, :invalid_signature}
|
||||
{:error, {:error, reason = "Object has been deleted"}} -> {:cancel, reason}
|
||||
e -> e
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user