Add back one of the duplicate checks to fix a test, document where it comes from

This commit is contained in:
Mark Felder 2024-08-28 17:57:34 -04:00
parent 380a6a6df3
commit c5ca806aa0

View file

@ -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