mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-07 00:16:57 +00:00
Merge pull request #878 from matrix-org/erikj/ujson
Disable responding with canonical json for federation
This commit is contained in:
commit
9ba2bf1570
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||||
|
|
Loading…
Add table
Reference in a new issue