summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-30 14:00:11 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-30 14:00:11 +0100
commit104844c1e1a99df9c4a7e022e715517578533db7 (patch)
tree7b8df19eca326501ef86e1da947fa0596a2da83a /synapse/handlers/sync.py
parentblack (diff)
downloadsynapse-104844c1e1a99df9c4a7e022e715517578533db7.tar.xz
Add explanatory comment
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 725f41c4d9..1f1cde2feb 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -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