summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/stream.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py

index bb56f0763d..7c2c45e0ff 100644 --- a/synapse/storage/stream.py +++ b/synapse/storage/stream.py
@@ -71,6 +71,7 @@ class StreamStore(SQLBaseStore): "invites": invites_sql, } + # Constraints and ordering depend on direction. if from_key < to_key: sql += ( "AND e.ordering > ? AND e.ordering < ? "