forked from AkkomaGang/akkoma
Format.
This commit is contained in:
parent
76722ea9c8
commit
29376fcc13
1 changed files with 6 additions and 1 deletions
|
@ -325,7 +325,12 @@ defp restrict_blocked(query, _), do: query
|
||||||
defp restrict_unlisted(query) do
|
defp restrict_unlisted(query) do
|
||||||
from(
|
from(
|
||||||
activity in query,
|
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
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue