I'm a tard
This commit is contained in:
parent
47e6e7f61b
commit
e2805a3f2d
|
@ -6,16 +6,12 @@ defmodule Pleroma.Web.ActivityPub.MRF.AntiHellthreadPolicy do
|
|||
@moduledoc "Notify local users upon remote block."
|
||||
@behaviour Pleroma.Web.ActivityPub.MRF
|
||||
|
||||
alias Pleroma.Config
|
||||
alias Pleroma.User
|
||||
alias Pleroma.Web.CommonAPI
|
||||
|
||||
defp is_block_or_unblock(%{"type" => "Block", "object" => object}),
|
||||
do: {true, "blocked", object}
|
||||
|
||||
defp is_block_or_unblock(%{"type" => "Block", "object" => object}),
|
||||
do: {true, "blocked", object}
|
||||
|
||||
defp is_block_or_unblock(%{
|
||||
"type" => "Undo",
|
||||
"object" => %{"type" => "Block", "object" => object}
|
||||
|
|
Loading…
Reference in New Issue