mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:06:08 -04:00
Apply sanity to the transport client interface. Convert 'make_join' and 'send_join' to accept iterables of destinations
This commit is contained in:
parent
95e2d2d36d
commit
ae46f10fc5
6 changed files with 151 additions and 92 deletions
|
@ -288,7 +288,7 @@ class FederationHandler(BaseHandler):
|
|||
logger.debug("Joining %s to %s", joinee, room_id)
|
||||
|
||||
pdu = yield self.replication_layer.make_join(
|
||||
target_host,
|
||||
[target_host],
|
||||
room_id,
|
||||
joinee
|
||||
)
|
||||
|
@ -331,7 +331,7 @@ class FederationHandler(BaseHandler):
|
|||
new_event = builder.build()
|
||||
|
||||
ret = yield self.replication_layer.send_join(
|
||||
target_host,
|
||||
[target_host],
|
||||
new_event
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue