summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-08-02 16:45:53 +0100
committerErik Johnston <erik@matrix.org>2016-08-02 16:45:53 +0100
commitc9154b970c0af5eb19c43a401f44de95afd3f7de (patch)
tree10c56da8a2bb2d46cc397d46eadf439738f88597 /synapse/federation
parentFix response cache (diff)
downloadsynapse-c9154b970c0af5eb19c43a401f44de95afd3f7de.tar.xz
Don't double wrap 200
Diffstat (limited to '')
-rw-r--r--synapse/federation/federation_server.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index 8f6955ac18..612d274bdb 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -235,10 +235,10 @@ class FederationServer(FederationBase):
                     )
                 )
 
-        defer.returnValue((200, {
+        defer.returnValue({
             "pdus": [pdu.get_pdu_json() for pdu in pdus],
             "auth_chain": [pdu.get_pdu_json() for pdu in auth_chain],
-        }))
+        })
 
     @defer.inlineCallbacks
     @log_function