logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: d417f7321801890381de4daa53c1a78ef4650d2c
parent 94daa3e8c1ec42f40214dc13f061f4319764f715
Author: Mark Felder <feld@feld.me>
Date:   Sat,  9 Dec 2023 18:40:29 -0500

Process inbound Delete activities at lowest priority

Diffstat:

Mlib/pleroma/web/federator.ex4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/lib/pleroma/web/federator.ex b/lib/pleroma/web/federator.ex @@ -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