commit: 30063c5914d229753f3bacab98c38736f2a447e6
parent 3dd6f6585985a085c1c2f2243501323864dcac2d
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 24 Mar 2023 09:09:58 +0100
MRF.DropPolicy: Add id_filter/1
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/lib/pleroma/web/activity_pub/mrf/drop_policy.ex b/lib/pleroma/web/activity_pub/mrf/drop_policy.ex
@@ -14,5 +14,11 @@ defmodule Pleroma.Web.ActivityPub.MRF.DropPolicy do
end
@impl true
+ def id_filter(id) do
+ Logger.debug("REJECTING #{id}")
+ false
+ end
+
+ @impl true
def describe, do: {:ok, %{}}
end