summary refs log tree commit diff
path: root/synapse/app
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-03-18 10:13:55 +0000
committerErik Johnston <erik@matrix.org>2020-03-18 10:13:55 +0000
commit6e6476ef07c2d72fbea85603f2eb2a61a6866732 (patch)
tree659fce3ef13f42f87c4d6e4547b417a56d8b73b7 /synapse/app
parentMerge branch 'develop' of github.com:matrix-org/synapse into erikj/fixup_devi... (diff)
downloadsynapse-6e6476ef07c2d72fbea85603f2eb2a61a6866732.tar.xz
Comments from review
Diffstat (limited to 'synapse/app')
-rw-r--r--synapse/app/generic_worker.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/app/generic_worker.py b/synapse/app/generic_worker.py
index d596852419..cdc078cf11 100644
--- a/synapse/app/generic_worker.py
+++ b/synapse/app/generic_worker.py
@@ -775,6 +775,9 @@ class FederationSenderHandler(object):
 
         # ... as well as device updates and messages
         elif stream_name == DeviceListsStream.NAME:
+            # The entities are either user IDs (starting with '@') whose devices
+            # have changed, or remote servers that we need to tell about
+            # changes.
             hosts = {row.entity for row in rows if not row.entity.startswith("@")}
             for host in hosts:
                 self.federation_sender.send_device_messages(host)