summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--synapse/http/matrixfederationclient.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 2be0244870..1307508e5a 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -226,6 +226,8 @@ class MatrixFederationHttpClient(object):
             body = yield _handle_json_response(
                 self.hs.get_reactor(), self.default_timeout, request, response,
             )
+
+            defer.returnValue(body)
         except HttpResponseException as e:
             if not try_trailing_slash_on_400:
                 # Received an error >= 300. Raise unless we're retrying