diff options
author | rinpatch <rinpatch@sdf.org> | 2019-04-18 12:56:38 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-04-18 12:56:38 +0300 |
commit | 83589ca6a56ed4ff6d7e9a116fbbf1797ba50e39 (patch) | |
tree | 48f28e164bdb18687fd9d6d52b39b996da889468 /lib | |
parent | ac04311b3f0a611b5008747037d6cd5874fa3ae9 (diff) | |
parent | 8c65b69d4a536311347a27f85198d2883fcd03b8 (diff) | |
download | pleroma-83589ca6a56ed4ff6d7e9a116fbbf1797ba50e39.tar.gz |
Merge branch 'develop' into feature/database-compaction
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/activity_pub.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/activity_pub/activity_pub.ex b/lib/pleroma/web/activity_pub/activity_pub.ex index 03be8b06f..9e2574419 100644 --- a/lib/pleroma/web/activity_pub/activity_pub.ex +++ b/lib/pleroma/web/activity_pub/activity_pub.ex @@ -727,7 +727,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do from( activity in query, where: fragment("not (? = ANY(?))", activity.actor, ^blocks), - where: fragment("not (?->'to' \\?| ?)", activity.data, ^blocks), + where: fragment("not (? && ?)", activity.recipients, ^blocks), where: fragment("not (split_part(?, '/', 3) = ANY(?))", activity.actor, ^domain_blocks) ) end |