0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-18 16:02:15 +01:00

Add explanatory comment

This commit is contained in:
Andrew Morgan 2020-03-30 14:00:11 +01:00
parent 7406477525
commit 104844c1e1
2 changed files with 4 additions and 1 deletions

View file

@ -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(

View file

@ -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