Disable responding with canonical json for federation

This commit is contained in:
Erik Johnston 2016-06-17 16:10:37 +01:00
parent f1073ad43d
commit 120c238705

View File

@ -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(