summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2020-03-30 10:18:33 +0100
committerDavid Baker <dave@matrix.org>2020-03-30 10:18:33 +0100
commit740647752576228e469918bafbb97ff556ff5ebe (patch)
tree35733c145713d319c0eb2631cd4a233f99a4f7b3 /synapse
parentJust add own user ID to the list we track device changes for (diff)
downloadsynapse-740647752576228e469918bafbb97ff556ff5ebe.tar.xz
black
Diffstat (limited to '')
-rw-r--r--synapse/handlers/device.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/handlers/device.py b/synapse/handlers/device.py
index 51bfad01c8..d256b86ce5 100644
--- a/synapse/handlers/device.py
+++ b/synapse/handlers/device.py
@@ -122,7 +122,9 @@ class DeviceWorkerHandler(BaseHandler):
 
         # First we check if any devices have changed for users that we share
         # rooms with.
-        users_who_share_room = yield self.store.get_users_who_share_room_with_user(user_id)
+        users_who_share_room = yield self.store.get_users_who_share_room_with_user(
+            user_id
+        )
 
         tracked_users = set(users_who_share_room)
         # always tell the user about their own devices