Process inbound Delete activities at lowest priority
This commit is contained in:
parent
94daa3e8c1
commit
d417f73218
@ -43,6 +43,10 @@ defmodule Pleroma.Web.Federator do
|
|||||||
)
|
)
|
||||||
end
|
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
|
def incoming_ap_doc(params) do
|
||||||
ReceiverWorker.enqueue("incoming_ap_doc", %{"params" => params})
|
ReceiverWorker.enqueue("incoming_ap_doc", %{"params" => params})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user