Browse Source

Fix bug which prevented the HS pushing events to the AS due to FrozenEvents

Kegan Dougal 9 years ago
parent
commit
2de5b14fe0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      synapse/http/client.py

+ 1 - 1
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",