mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -04:00
Pass through list of room hosts from room alias query to federation so that it can retry against different room hosts
This commit is contained in:
parent
8046df6efa
commit
e1515c3e91
3 changed files with 22 additions and 15 deletions
|
@ -264,7 +264,9 @@ class FederationClient(FederationBase):
|
|||
|
||||
logger.debug("Got response to make_join: %s", pdu_dict)
|
||||
|
||||
defer.returnValue(self.event_from_pdu_json(pdu_dict))
|
||||
defer.returnValue(
|
||||
(destination, self.event_from_pdu_json(pdu_dict))
|
||||
)
|
||||
break
|
||||
except CodeMessageException:
|
||||
raise
|
||||
|
@ -313,6 +315,7 @@ class FederationClient(FederationBase):
|
|||
defer.returnValue({
|
||||
"state": signed_state,
|
||||
"auth_chain": signed_auth,
|
||||
"origin": destination,
|
||||
})
|
||||
except CodeMessageException:
|
||||
raise
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue