Remove doubled 'to' recipients.

This commit is contained in:
Roger Braun 2017-05-03 16:08:24 +02:00
commit df71c142cf
2 changed files with 8 additions and 1 deletions

View file

@ -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,