summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-06-28 14:29:27 +0100
committerErik Johnston <erik@matrix.org>2021-06-28 14:29:27 +0100
commitffe17e47cef75fe3d2a5f4c3fbf9c65f6caee1a8 (patch)
tree5c4117de0f3f2491f7dff29e49d3fb3e52e9bb92 /synapse/storage
parentdon't send out events for matrix.org (diff)
downloadsynapse-ffe17e47cef75fe3d2a5f4c3fbf9c65f6caee1a8.tar.xz
Fix SQL
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/databases/main/transactions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/transactions.py b/synapse/storage/databases/main/transactions.py

index 67655fc215..b3250084c5 100644 --- a/synapse/storage/databases/main/transactions.py +++ b/synapse/storage/databases/main/transactions.py
@@ -411,7 +411,7 @@ class TransactionWorkerStore(CacheInvalidationWorkerStore): JOIN events USING (stream_ordering) WHERE destination = ? AND stream_ordering > ? - AND room_id != '!OGEhHVWSdvArJzumhm:matrix.org' + AND destination_rooms.room_id != '!OGEhHVWSdvArJzumhm:matrix.org' ORDER BY stream_ordering LIMIT 50 """