diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-19 11:40:32 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-19 11:41:01 +0000 |
commit | fa728034900ae63d8132962008319d37df3993db (patch) | |
tree | 9ed8d7230c116bc28057f11395a795d3f993880c /synapse/http/server.py | |
parent | spell out not to massively increase bcrypt rounds (diff) | |
parent | Merge branch 'hotfixes-v0.26.1' of github.com:matrix-org/synapse (diff) | |
download | synapse-fa728034900ae63d8132962008319d37df3993db.tar.xz |
Merge branch 'master' of github.com:matrix-org/synapse into develop
Diffstat (limited to 'synapse/http/server.py')
-rw-r--r-- | synapse/http/server.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/http/server.py b/synapse/http/server.py index 3c7a0ef97a..1551db239d 100644 --- a/synapse/http/server.py +++ b/synapse/http/server.py @@ -37,7 +37,6 @@ from twisted.web.util import redirectTo import collections import logging import urllib -import ujson import simplejson logger = logging.getLogger(__name__) @@ -462,7 +461,6 @@ def respond_with_json(request, code, json_object, send_cors=False, if canonical_json or synapse.events.USE_FROZEN_DICTS: json_bytes = encode_canonical_json(json_object) else: - # ujson doesn't like frozen_dicts. json_bytes = simplejson.dumps(json_object) return respond_with_json_bytes( |