mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-18 22:14:19 -05:00
Merge pull request #878 from matrix-org/erikj/ujson
Disable responding with canonical json for federation
This commit is contained in:
commit
9ba2bf1570
@ -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…
Reference in New Issue
Block a user