diff options
author | David Baker <dave@matrix.org> | 2020-03-30 10:18:33 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2020-03-30 10:18:33 +0100 |
commit | 740647752576228e469918bafbb97ff556ff5ebe (patch) | |
tree | 35733c145713d319c0eb2631cd4a233f99a4f7b3 /synapse/handlers/device.py | |
parent | Just add own user ID to the list we track device changes for (diff) | |
download | synapse-740647752576228e469918bafbb97ff556ff5ebe.tar.xz |
black
Diffstat (limited to 'synapse/handlers/device.py')
-rw-r--r-- | synapse/handlers/device.py | 4 |
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 |