summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-15 16:11:25 +0100
committerErik Johnston <erik@matrix.org>2014-08-15 16:11:25 +0100
commit8fa3cc37f93cc90d8bf34dadbdf207eb8e2fdebd (patch)
treee91d109d98053761350840b866e5c9a2879b48cf
parentSupport generic events. (diff)
downloadsynapse-8fa3cc37f93cc90d8bf34dadbdf207eb8e2fdebd.tar.xz
Comment.
Diffstat (limited to '')
-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 < ? "