Remove doubled 'to' recipients.
This commit is contained in:
parent
8141024259
commit
df71c142cf
2 changed files with 8 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue