summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-29 12:17:33 +0100
committerErik Johnston <erik@matrix.org>2015-05-29 12:17:33 +0100
commita7b65bdedf512f646a3ca2478fb96a914856de35 (patch)
tree8b0336ae751d081a21b32c16f1cdb5d93f43e2fb /synapse/rest/client/v2_alpha
parentSYN-395: Fix CAPTCHA, don't double decode json (diff)
downloadsynapse-a7b65bdedf512f646a3ca2478fb96a914856de35.tar.xz
Add config option to turn off freezing events. Use new encode_json api and ujson.loads
Diffstat (limited to 'synapse/rest/client/v2_alpha')
-rw-r--r--synapse/rest/client/v2_alpha/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v2_alpha/__init__.py b/synapse/rest/client/v2_alpha/__init__.py
index 28d95b2729..7d1aff4307 100644
--- a/synapse/rest/client/v2_alpha/__init__.py
+++ b/synapse/rest/client/v2_alpha/__init__.py
@@ -28,7 +28,7 @@ class ClientV2AlphaRestResource(JsonResource):
     """A resource for version 2 alpha of the matrix client API."""
 
     def __init__(self, hs):
-        JsonResource.__init__(self, hs)
+        JsonResource.__init__(self, hs, canonical_json=False)
         self.register_servlets(self, hs)
 
     @staticmethod