summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r--synapse/http/matrixfederationclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index b1b2916fd3..c7bf1b47b8 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -265,7 +265,7 @@ class MatrixFederationHttpClient(object):
             self.sign_request(
                 destination, method, url_bytes, headers_dict, data
             )
-            return None
+            return _JsonProducer(data)
 
         response = yield self._create_request(
             destination.encode("ascii"),