Revert unintentional change

This commit is contained in:
Mark Felder 2024-08-23 14:18:04 -04:00
parent ceffb8a891
commit 4bc6f334f4

View file

@ -34,7 +34,7 @@ defmodule Pleroma.Workers.ReceiverWorker do
}
with {_, false} <- {:unknown_delete, unknown_delete?(params)},
User.get_or_fetch_by_ap_id(conn_data.params["actor"]),
{:ok, %User{} = _actor} <- User.get_or_fetch_by_ap_id(conn_data.params["actor"]),
{:ok, _public_key} <- Signature.refetch_public_key(conn_data),
{:signature, true} <- {:signature, Signature.validate_signature(conn_data)},
{:ok, res} <- Federator.perform(:incoming_ap_doc, params) do