mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-11-13 12:31:13 +00:00
Process inbound Delete activities at lowest priority
This commit is contained in:
parent
94daa3e8c1
commit
d417f73218
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue