fix format

This commit is contained in:
Karen Konou 2019-03-04 11:18:16 +01:00
parent aab86698a5
commit 1445dc25d4
1 changed files with 2 additions and 1 deletions

View File

@ -310,7 +310,8 @@ def unfollow(follower, followed, activity_id \\ nil, local \\ true) do
def delete(%Object{data: %{"id" => id, "actor" => actor}} = object, local \\ true) do
user = User.get_cached_by_ap_id(actor)
to = object.data["to"] || [] ++ object.data["cc"] ||
to =
object.data["to"] || [] ++ object.data["cc"] ||
[] ++ [user.follower_address, "https://www.w3.org/ns/activitystreams#Public"]
data = %{