squished a bug
This commit is contained in:
parent
3cf046babb
commit
4430641349
|
@ -7,7 +7,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicy do
|
|||
@behaviour Pleroma.Web.ActivityPub.MRF
|
||||
|
||||
defp delist_message(message) do
|
||||
follower_collection = User.get_by_ap_id(message["actor"].follower_address)
|
||||
follower_collection = User.get_cached_by_ap_id(message["actor"]).follower_address
|
||||
|
||||
message
|
||||
|> Map.put("to", [follower_collection])
|
||||
|
@ -44,5 +44,5 @@ def filter(%{"type" => "Create"} = message) do
|
|||
end
|
||||
|
||||
@impl true
|
||||
def filter(message), do: {:ok, message}
|
||||
def filter(message), do: {:ok_notcreate, message}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue