aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2018-05-13 10:56:44 +0200
committerlain <lain@soykaf.club>2018-05-13 10:56:44 +0200
commit29376fcc13ed997140f32973ee257d2406d759ae (patch)
tree455cce065bc3981651891b818624d4a66335dff8 /lib
parent76722ea9c8dfbb8fefe247883946aa5c872d9a49 (diff)
downloadpleroma-29376fcc13ed997140f32973ee257d2406d759ae.tar.gz
Format.
Diffstat (limited to 'lib')
-rw-r--r--lib/pleroma/web/activity_pub/activity_pub.ex7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex
index 6a413c69c..ae94b447a 100644
--- a/lib/pleroma/web/activity_pub/activity_pub.ex
+++ b/lib/pleroma/web/activity_pub/activity_pub.ex
@@ -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