summary refs log tree commit diff
path: root/synapse/handlers/device.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-03-10 17:39:35 +0000
committerErik Johnston <erik@matrix.org>2017-03-10 17:39:35 +0000
commit8ffbe43ba11c925322af06f4d12b076754aeac56 (patch)
treecf3fd898d16b1028806d7d30d2d1f7ff156d9f24 /synapse/handlers/device.py
parentMerge pull request #1976 from matrix-org/erikj/device_delete_sync (diff)
downloadsynapse-8ffbe43ba11c925322af06f4d12b076754aeac56.tar.xz
Get current state by using current_state_events table
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r--synapse/handlers/device.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index e859b3165f..9374c085db 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -262,7 +262,7 @@ class DeviceHandler(BaseHandler):
                 # ordering: treat it the same as a new room
                 event_ids = []
 
-            current_state_ids = yield self.state.get_current_state_ids(room_id)
+            current_state_ids = yield self.store.get_current_state_ids(room_id)
 
             # special-case for an empty prev state: include all members
             # in the changed list