diff options
author | Erik Johnston <erik@matrix.org> | 2016-08-05 10:24:23 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-08-05 10:24:23 +0100 |
commit | 1515d1b581158e98c6513cf8b3b9548787854a64 (patch) | |
tree | ff8d06fea7be243caba9bad533125217d80c6972 /synapse | |
parent | Tweak integrity error recovery to work as intended (diff) | |
download | synapse-1515d1b581158e98c6513cf8b3b9548787854a64.tar.xz |
Fallback to /state/ on both 400 and 404
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/federation/federation_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index c5e99cebf7..7e1690b0fb 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -343,7 +343,7 @@ class FederationClient(FederationBase): defer.returnValue((pdus, auth_chain)) except HttpResponseException as e: - if e.code == 400: + if e.code == 400 or e.code == 404: logger.info("Failed to use get_room_state_ids API, falling back") else: raise e |