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:
Erik Johnston 2015-02-05 13:43:28 +00:00
parent 8046df6efa
commit e1515c3e91
3 changed files with 22 additions and 15 deletions

View file

@ -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