diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-05-14 13:24:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 13:24:01 -0400 |
commit | 56b66db78a3a6a22f65b219f4dc12899111f742b (patch) | |
tree | 6af77f84427554db2efe6fcd8bfe087911e357b9 /synapse/util/frozenutils.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-56b66db78a3a6a22f65b219f4dc12899111f742b.tar.xz |
Strictly enforce canonicaljson requirements in a new room version (#7381)
Diffstat (limited to 'synapse/util/frozenutils.py')
-rw-r--r-- | synapse/util/frozenutils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/util/frozenutils.py b/synapse/util/frozenutils.py index f2ccd5e7c6..9815bb8667 100644 --- a/synapse/util/frozenutils.py +++ b/synapse/util/frozenutils.py @@ -65,5 +65,5 @@ def _handle_frozendict(obj): ) -# A JSONEncoder which is capable of encoding frozendics without barfing +# A JSONEncoder which is capable of encoding frozendicts without barfing frozendict_json_encoder = json.JSONEncoder(default=_handle_frozendict) |