diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-05-03 16:08:24 +0200 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-05-03 16:08:24 +0200 |
commit | df71c142cfadaae8866303768bca00c343b8bed1 (patch) | |
tree | 0b7336976740466acaaa1f823e0eba2614a470ed /lib | |
parent | 8141024259ee4bebd58d6ecd963f181aad420846 (diff) | |
download | pleroma-df71c142cfadaae8866303768bca00c343b8bed1.tar.gz |
Remove doubled 'to' recipients.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 194a5ec3d..f18f3df2e 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -24,7 +24,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do activity = %{ "type" => "Create", - "to" => to, + "to" => to |> Enum.uniq, "actor" => actor.ap_id, "object" => object, "published" => published, |