diff options
author | lain <lain@soykaf.club> | 2018-05-13 10:56:44 +0200 |
---|---|---|
committer | lain <lain@soykaf.club> | 2018-05-13 10:56:44 +0200 |
commit | 29376fcc13ed997140f32973ee257d2406d759ae (patch) | |
tree | 455cce065bc3981651891b818624d4a66335dff8 /lib | |
parent | 76722ea9c8dfbb8fefe247883946aa5c872d9a49 (diff) | |
download | pleroma-29376fcc13ed997140f32973ee257d2406d759ae.tar.gz |
Format.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 7 |
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 |