diff options
author | Erik Johnston <erik@matrix.org> | 2016-02-11 15:02:56 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-02-11 15:02:56 +0000 |
commit | ce14c7a9954ebfa80831efc0901ca04d8cfe6ab5 (patch) | |
tree | 0eb1a3182df780daac727eff17f33f9998255580 /synapse/storage | |
parent | Merge pull request #570 from matrix-org/erikj/events_fixes (diff) | |
download | synapse-ce14c7a9954ebfa80831efc0901ca04d8cfe6ab5.tar.xz |
Fix SYN-627, events are in incorrect room in /sync
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/stream.py | 2 |
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))) |