0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2025-03-05 03:10:21 +01:00
This commit is contained in:
Erik Johnston 2014-08-15 16:11:25 +01:00
parent 19946509a4
commit 8fa3cc37f9

View file

@ -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 < ? "