mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-04 10:44:51 -04:00
Comments from review
This commit is contained in:
parent
65a941d1f8
commit
6e6476ef07
3 changed files with 25 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue