MRF.DropPolicy: Add id_filter/1
This commit is contained in:
parent
3dd6f65859
commit
30063c5914
@ -13,6 +13,12 @@ defmodule Pleroma.Web.ActivityPub.MRF.DropPolicy do
|
|||||||
{:reject, activity}
|
{:reject, activity}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@impl true
|
||||||
|
def id_filter(id) do
|
||||||
|
Logger.debug("REJECTING #{id}")
|
||||||
|
false
|
||||||
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
def describe, do: {:ok, %{}}
|
def describe, do: {:ok, %{}}
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user