Fix SYN-627, events are in incorrect room in /sync

This commit is contained in:
Erik Johnston 2016-02-11 15:02:56 +00:00
parent abc1b22193
commit ce14c7a995

View File

@ -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)))