mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 09:34:56 -04:00
Always send the user updates to their own device list (#7160)
This commit is contained in:
parent
72fe2affb6
commit
40f79f58bf
3 changed files with 19 additions and 3 deletions
|
@ -1143,9 +1143,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue