Format.
authorlain <lain@soykaf.club>
Sun, 13 May 2018 08:56:44 +0000 (10:56 +0200)
committerlain <lain@soykaf.club>
Sun, 13 May 2018 08:56:44 +0000 (10:56 +0200)
lib/pleroma/web/activity_pub/activity_pub.ex

index 6a413c69c10b0bb828be4997bb3e02cfc93b25fb..ae94b447ae9cef1693e93435c62a798e0a25f6d1 100644 (file)
@@ -325,7 +325,12 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
   defp restrict_unlisted(query) do
     from(
       activity in query,
-      where: fragment("not (?->'cc' \\?| ?)", activity.data, ^["https://www.w3.org/ns/activitystreams#Public"])
+      where:
+        fragment(
+          "not (?->'cc' \\?| ?)",
+          activity.data,
+          ^["https://www.w3.org/ns/activitystreams#Public"]
+        )
     )
   end