summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-06-17 16:10:37 +0100
committerErik Johnston <erik@matrix.org>2016-06-17 16:10:37 +0100
commit120c2387053bdc30824d6b15931532664f739192 (patch)
treef27da29f2d04f676d1b3bcecf310caf75526c2de
parentMerge pull request #874 from matrix-org/markjh/worker_config (diff)
downloadsynapse-120c2387053bdc30824d6b15931532664f739192.tar.xz
Disable responding with canonical json for federation
-rw-r--r--synapse/federation/transport/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py
index 6fc3e2207c..8a1965f45a 100644
--- a/synapse/federation/transport/server.py
+++ b/synapse/federation/transport/server.py
@@ -37,7 +37,7 @@ class TransportLayerServer(JsonResource):
         self.hs = hs
         self.clock = hs.get_clock()
 
-        super(TransportLayerServer, self).__init__(hs)
+        super(TransportLayerServer, self).__init__(hs, canonical_json=False)
 
         self.authenticator = Authenticator(hs)
         self.ratelimiter = FederationRateLimiter(