forked from AkkomaGang/akkoma
fixed Map,put arguments, updated nomenclature
This commit is contained in:
parent
583c4e0f17
commit
63a4f4b7be
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ defp delist_message(message) do
|
||||||
follower_collection = User.get_by_ap_id(message["actor"].follower_address)
|
follower_collection = User.get_by_ap_id(message["actor"].follower_address)
|
||||||
|
|
||||||
message
|
message
|
||||||
|> Map.put(["to"], [follower_collection])
|
|> Map.put("to", [follower_collection])
|
||||||
|> Map.put(["cc"], ["https://www.w3.org/ns/activitystreams#Public"])
|
|> Map.put("cc", ["https://www.w3.org/ns/activitystreams#Public"])
|
||||||
end
|
end
|
||||||
|
|
||||||
@impl true
|
@impl true
|
||||||
|
|
Loading…
Reference in a new issue