1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 10:59:17 +00:00

fixed Map,put arguments, updated nomenclature

This commit is contained in:
Karen Konou 2019-02-04 10:23:07 +01:00
parent 583c4e0f17
commit 63a4f4b7be

View file

@ -10,8 +10,8 @@ defp delist_message(message) 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