projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76722ea
)
Format.
author
lain
<lain@soykaf.club>
Sun, 13 May 2018 08:56:44 +0000
(10:56 +0200)
committer
lain
<lain@soykaf.club>
Sun, 13 May 2018 08:56:44 +0000
(10:56 +0200)
lib/pleroma/web/activity_pub/activity_pub.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/activity_pub/activity_pub.ex
b/lib/pleroma/web/activity_pub/activity_pub.ex
index 6a413c69c10b0bb828be4997bb3e02cfc93b25fb..ae94b447ae9cef1693e93435c62a798e0a25f6d1 100644
(file)
--- 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