summary refs log tree commit diff
path: root/synapse/federation/federation_client.py
diff options
context:
space:
mode:
authorBenjamin Saunders <ben.e.saunders@gmail.com>2016-08-04 20:38:08 -0700
committerBenjamin Saunders <ben.e.saunders@gmail.com>2016-08-04 20:38:08 -0700
commita2b7102eea23572c8a3619704f5f5c3f21a8edcd (patch)
treec36df46b44c7053ff6b9d8e22706ffa8e4bf97b6 /synapse/federation/federation_client.py
parentMerge pull request #973 from matrix-org/erikj/xpath_fix (diff)
downloadsynapse-a2b7102eea23572c8a3619704f5f5c3f21a8edcd.tar.xz
Tweak integrity error recovery to work as intended
Diffstat (limited to 'synapse/federation/federation_client.py')
-rw-r--r--synapse/federation/federation_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py
index c6ed720166..c5e99cebf7 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 == 404:
+            if e.code == 400:
                 logger.info("Failed to use get_room_state_ids API, falling back")
             else:
                 raise e