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

fixed Map,put arguments, updated nomenclature

parent 583c4e0f
No related branches found
No related tags found
No related merge requests found
......@@ -10,8 +10,8 @@ defmodule Pleroma.Web.ActivityPub.MRF.HellthreadPolicy do
follower_collection = User.get_by_ap_id(message["actor"].follower_address)
message
|> Map.put(["to"], [follower_collection])
|> Map.put(["cc"], ["https://www.w3.org/ns/activitystreams#Public"])
|> Map.put("to", [follower_collection])
|> Map.put("cc", ["https://www.w3.org/ns/activitystreams#Public"])
end
@impl true
......
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