mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 00:54:47 -04:00
Add a new method to enqueue the device messages rather than sending a dummy EDU
This commit is contained in:
parent
2a0159b8ae
commit
43954d000e
3 changed files with 20 additions and 7 deletions
|
@ -112,10 +112,6 @@ class DeviceMessageHandler(object):
|
|||
)
|
||||
|
||||
for destination in remote_messages.keys():
|
||||
# Hack to send make synapse send a federation transaction
|
||||
# to the remote servers.
|
||||
self.federation.send_edu(
|
||||
destination=destination,
|
||||
edu_type="m.ping",
|
||||
content={},
|
||||
)
|
||||
# Enqueue a new federation transaction to send the new
|
||||
# device messages to each remote destination.
|
||||
self.federation.send_device_messages(destination)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue