mirror of
https://git.pleroma.social/sjw/pleroma.git
synced 2024-11-15 23:26:17 +01:00
fixed Map,put arguments, updated nomenclature
This commit is contained in:
parent
583c4e0f17
commit
63a4f4b7be
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user