summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-06-26 19:09:10 +0100
committerErik Johnston <erik@matrix.org>2019-06-26 19:39:19 +0100
commit806a06daf2b30691c2c69e32d1ff2e104436bbc4 (patch)
tree0e6134f1f91c01514e9654a9c5882c893ef1d94c /synapse/handlers
parentNewsfile (diff)
downloadsynapse-806a06daf2b30691c2c69e32d1ff2e104436bbc4.tar.xz
Rename get_users_whose_devices_changed
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/device.py2
-rw-r--r--synapse/handlers/sync.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index 2b6c2117f9..99e8413092 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -106,7 +106,7 @@ class DeviceWorkerHandler(BaseHandler):
         users_who_share_room = yield self.store.get_users_who_share_room_with_user(
             user_id
         )
-        changed = yield self.store.get_user_whose_devices_changed(
+        changed = yield self.store.get_users_whose_devices_changed(
             from_token.device_list_key, users_who_share_room
         )
 
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 8249e75ecd..f70ebfdee7 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -1080,7 +1080,7 @@ class SyncHandler(object):
             # weren't in the previous sync *or* they left and rejoined.
             changed = users_who_share_room & set(newly_joined_or_invited_users)
 
-            changed_users = yield self.store.get_user_whose_devices_changed(
+            changed_users = yield self.store.get_users_whose_devices_changed(
                 since_token.device_list_key, users_who_share_room
             )