Always accept deletions through SimplePolicy
This commit is contained in:
parent
7ee35eb9a6
commit
9a3c74b244
2 changed files with 26 additions and 0 deletions
|
|
@ -148,6 +148,9 @@ defmodule Pleroma.Web.ActivityPub.MRF.SimplePolicy do
|
|||
|
||||
defp check_banner_removal(_actor_info, object), do: {:ok, object}
|
||||
|
||||
@impl true
|
||||
def filter(%{"type" => "Delete"} = object), do: {:ok, object}
|
||||
|
||||
@impl true
|
||||
def filter(%{"actor" => actor} = object) do
|
||||
actor_info = URI.parse(actor)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue