summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-04-21 11:03:32 +0100
committerRichard van der Hoff <richard@matrix.org>2020-04-21 11:03:32 +0100
commit8288218b2938b695b874d24a6ec46192c65b3826 (patch)
treebb17f50cb5d5060374a957143d42fc39ff06d461 /synapse/handlers/sync.py
parentRevert recent merges of #7289 into matrix-org-hotfixes (diff)
parentSupport GET account_data requests on a worker (#7311) (diff)
downloadsynapse-8288218b2938b695b874d24a6ec46192c65b3826.tar.xz
Merge remote-tracking branch 'origin/release-v1.12.4' into matrix-org-hotfixes
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index c64f1994bd..55498c25b4 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -1146,9 +1146,14 @@ class SyncHandler(object): user_id ) + tracked_users = set(users_who_share_room) + + # Always tell the user about their own devices + tracked_users.add(user_id) + # Step 1a, check for changes in devices of users we share a room with users_that_have_changed = await self.store.get_users_whose_devices_changed( - since_token.device_list_key, users_who_share_room + since_token.device_list_key, tracked_users ) # Step 1b, check for newly joined rooms