mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue