Skip to content
Snippets Groups Projects
Commit 44306413 authored by Karen Konou's avatar Karen Konou
Browse files

squished a bug

parent 3cf046ba
No related branches found
No related tags found
No related merge requests found
......@@ -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 @@ defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicy do
end
@impl true
def filter(message), do: {:ok, message}
def filter(message), do: {:ok_notcreate, message}
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment