Commit 44306413 authored by Karen Konou's avatar Karen Konou

squished a bug

parent 3cf046ba
Pipeline #6995 passed with stages
in 5 minutes and 52 seconds
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment