Explorar o código

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

Kegan Dougal %!s(int64=9) %!d(string=hai) anos
pai
achega
2de5b14fe0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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",