Add explanatory comment
This commit is contained in:
parent
7406477525
commit
104844c1e1
|
@ -127,7 +127,8 @@ class DeviceWorkerHandler(BaseHandler):
|
||||||
)
|
)
|
||||||
|
|
||||||
tracked_users = set(users_who_share_room)
|
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)
|
tracked_users.add(user_id)
|
||||||
|
|
||||||
changed = yield self.store.get_users_whose_devices_changed(
|
changed = yield self.store.get_users_whose_devices_changed(
|
||||||
|
|
|
@ -1144,6 +1144,8 @@ class SyncHandler(object):
|
||||||
)
|
)
|
||||||
|
|
||||||
tracked_users = set(users_who_share_room)
|
tracked_users = set(users_who_share_room)
|
||||||
|
|
||||||
|
# Always tell the user about their own devices
|
||||||
tracked_users.add(user_id)
|
tracked_users.add(user_id)
|
||||||
|
|
||||||
# Step 1a, check for changes in devices of users we share a room with
|
# Step 1a, check for changes in devices of users we share a room with
|
||||||
|
|
Loading…
Reference in New Issue