Merge pull request #878 from matrix-org/erikj/ujson

Disable responding with canonical json for federation
This commit is contained in:
Erik Johnston 2016-06-17 16:22:12 +01:00 committed by GitHub
commit 9ba2bf1570
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class TransportLayerServer(JsonResource):
self.hs = hs self.hs = hs
self.clock = hs.get_clock() self.clock = hs.get_clock()
super(TransportLayerServer, self).__init__(hs) super(TransportLayerServer, self).__init__(hs, canonical_json=False)
self.authenticator = Authenticator(hs) self.authenticator = Authenticator(hs)
self.ratelimiter = FederationRateLimiter( self.ratelimiter = FederationRateLimiter(