summary refs log tree commit diff
path: root/synapse/storage/stream.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-11 15:02:56 +0000
committerErik Johnston <erik@matrix.org>2016-02-11 15:02:56 +0000
commitce14c7a9954ebfa80831efc0901ca04d8cfe6ab5 (patch)
tree0eb1a3182df780daac727eff17f33f9998255580 /synapse/storage/stream.py
parentMerge pull request #570 from matrix-org/erikj/events_fixes (diff)
downloadsynapse-ce14c7a9954ebfa80831efc0901ca04d8cfe6ab5.tar.xz
Fix SYN-627, events are in incorrect room in /sync
Diffstat (limited to 'synapse/storage/stream.py')
-rw-r--r--synapse/storage/stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/stream.py b/synapse/storage/stream.py
index 0d1034c6f1..c236dafafb 100644
--- a/synapse/storage/stream.py
+++ b/synapse/storage/stream.py
@@ -175,7 +175,7 @@ class StreamStore(SQLBaseStore):
                 preserve_fn(self.get_room_events_stream_for_room)(
                     room_id, from_key, to_key, limit, order=order,
                 )
-                for room_id in room_ids
+                for room_id in rm_ids
             ])
             results.update(dict(zip(rm_ids, res)))