fix format
authorKaren Konou <konoukaren@gmail.com>
Mon, 4 Mar 2019 10:18:16 +0000 (11:18 +0100)
committerKaren Konou <konoukaren@gmail.com>
Mon, 4 Mar 2019 10:18:45 +0000 (11:18 +0100)
lib/pleroma/web/activity_pub/activity_pub.ex

index bff3025ed7b4ac2a5964d378d8e659313b3e1f5a..98639883e071d2eb6462ccccc69a929abbedb63e 100644 (file)
@@ -310,7 +310,8 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub 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 = %{