mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
Add back one of the duplicate checks to fix a test, document where it comes from
This commit is contained in:
parent
380a6a6df3
commit
c5ca806aa0
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ defmodule Pleroma.Workers.ReceiverWorker do
|
|||
# Validator will error and return a changeset error
|
||||
# e.g., duplicate activities or if the object was deleted
|
||||
{:error, {:validate, {:error, _changeset} = reason}} -> {:cancel, reason}
|
||||
# Duplicate detection during Normalization
|
||||
{:error, :already_present} -> {:cancel, :already_present}
|
||||
# MRFs will return a reject
|
||||
{:error, {:reject, _} = reason} -> {:cancel, reason}
|
||||
# HTTP Sigs
|
||||
|
|
Loading…
Reference in a new issue