Process inbound Delete activities at lowest priority

This commit is contained in:
Mark Felder 2023-12-09 18:40:29 -05:00
parent 94daa3e8c1
commit d417f73218

View File

@ -43,6 +43,10 @@ defmodule Pleroma.Web.Federator do
)
end
def incoming_ap_doc(%{"type" => "Delete"} = params) do
ReceiverWorker.enqueue("incoming_ap_doc", %{"params" => params}, priority: 3)
end
def incoming_ap_doc(params) do
ReceiverWorker.enqueue("incoming_ap_doc", %{"params" => params})
end