Add test.
This commit is contained in:
parent
29376fcc13
commit
ec531ca281
2 changed files with 11 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
activity in query,
|
||||
where:
|
||||
fragment(
|
||||
"not (?->'cc' \\?| ?)",
|
||||
"(?->'to' \\?| ?)",
|
||||
activity.data,
|
||||
^["https://www.w3.org/ns/activitystreams#Public"]
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue