diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-17 13:24:13 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-17 13:24:13 +0000 |
commit | c82e26ad4ba80742adc68a7e8c52441d760e4746 (patch) | |
tree | 3366ee0d9b9ba410637dc7c1e10740a9a11f2ec0 /synapse | |
parent | Handle recieving failures in transactions (diff) | |
download | synapse-c82e26ad4ba80742adc68a7e8c52441d760e4746.tar.xz |
Actually respond with JSON to incoming transaction
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/federation_server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index 34f5b17446..c48a41b5d5 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -147,6 +147,8 @@ class FederationServer(FederationBase): logger.debug("Returning: %s", str(ret)) + response = ret + yield self.transaction_actions.set_response( transaction, 200, response |