diff options
author | Karen Konou <konoukaren@gmail.com> | 2019-02-04 10:23:07 +0100 |
---|---|---|
committer | Karen Konou <konoukaren@gmail.com> | 2019-02-04 10:23:07 +0100 |
commit | 63a4f4b7be14753d0e78f8a445351b7dae008254 (patch) | |
tree | 09c06d78d7e2aaadef1908c194af309e6c5c7fab | |
parent | 583c4e0f17206d77174e1eaa84bb68fc5a57f196 (diff) | |
download | pleroma-63a4f4b7be14753d0e78f8a445351b7dae008254.tar.gz |
fixed Map,put arguments, updated nomenclature
-rw-r--r-- | lib/pleroma/web/activity_pub/mrf/hellthread_policy.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/activity_pub/mrf/hellthread_policy.ex b/lib/pleroma/web/activity_pub/mrf/hellthread_policy.ex index 1c2de555f..667f5da03 100644 --- a/lib/pleroma/web/activity_pub/mrf/hellthread_policy.ex +++ b/lib/pleroma/web/activity_pub/mrf/hellthread_policy.ex @@ -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 |