mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-05 14:18:55 +01:00
Add explanatory comment
This commit is contained in:
parent
7406477525
commit
104844c1e1
2 changed files with 4 additions and 1 deletions
|
@ -127,7 +127,8 @@ class DeviceWorkerHandler(BaseHandler):
|
|||
)
|
||||
|
||||
tracked_users = set(users_who_share_room)
|
||||
# always tell the user about their own devices
|
||||
|
||||
# Always tell the user about their own devices
|
||||
tracked_users.add(user_id)
|
||||
|
||||
changed = yield self.store.get_users_whose_devices_changed(
|
||||
|
|
|
@ -1144,6 +1144,8 @@ class SyncHandler(object):
|
|||
)
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue