mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-22 17:32:43 +00:00
Add explanatory comment
This commit is contained in:
1 parent
7406477525
commit
104844c1e1
2 files changed
+4
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user