summary refs log tree commit diff
path: root/synapse/app/synchrotron.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2017-03-16 13:05:17 +0000
committerGitHub <noreply@github.com>2017-03-16 13:05:16 +0000
commit248eb4638d45b10e22820d5d03ab504e927a8422 (patch)
treec66ca7b4f6ad2bdcc22d017d72bbdf1145d1147d /synapse/app/synchrotron.py
parentMerge pull request #2014 from Half-Shot/hs/fix-appservice-presence (diff)
parentComments (diff)
downloadsynapse-248eb4638d45b10e22820d5d03ab504e927a8422.tar.xz
Merge pull request #2022 from matrix-org/erikj/no_op_sync
Implement no op for room stream in sync
Diffstat (limited to 'synapse/app/synchrotron.py')
-rw-r--r--synapse/app/synchrotron.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/app/synchrotron.py b/synapse/app/synchrotron.py
index 29f075aa5f..449fac771b 100644
--- a/synapse/app/synchrotron.py
+++ b/synapse/app/synchrotron.py
@@ -399,8 +399,7 @@ class SynchrotronServer(HomeServer):
                 position = row[position_index]
                 user_id = row[user_index]
 
-                rooms = yield store.get_rooms_for_user(user_id)
-                room_ids = [r.room_id for r in rooms]
+                room_ids = yield store.get_rooms_for_user(user_id)
 
                 notifier.on_new_event(
                     "device_list_key", position, rooms=room_ids,