summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2015-03-02 15:36:37 +0000
committerKegan Dougal <kegan@matrix.org>2015-03-02 15:36:37 +0000
commit2de5b14fe00d2337a3179aa19185e66350ba1a3e (patch)
tree36cc4ecf7839c9dd96f99f8a30c7b2b346c52a9a /synapse/http
parentBump webclient version (diff)
downloadsynapse-2de5b14fe00d2337a3179aa19185e66350ba1a3e.tar.xz
Fix bug which prevented the HS pushing events to the AS due to FrozenEvents
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py
index 22b7145ac1..b53a07aa2d 100644
--- a/synapse/http/client.py
+++ b/synapse/http/client.py
@@ -143,7 +143,7 @@ class SimpleHttpClient(object):
             query_bytes = urllib.urlencode(args, True)
             uri = "%s?%s" % (uri, query_bytes)
 
-        json_str = json.dumps(json_body)
+        json_str = encode_canonical_json(json_body)
 
         response = yield self.agent.request(
             "PUT",