diff options
author | Erik Johnston <erik@matrix.org> | 2015-05-29 15:02:55 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-05-29 15:02:55 +0100 |
commit | ca580ef862fe1c21bf191f8066df90f78171d11f (patch) | |
tree | ab3d17e725bfcd1c8a4691016e7f6d8faecbefa0 | |
parent | Merge pull request #169 from matrix-org/erikj/ultrajson (diff) | |
download | synapse-ca580ef862fe1c21bf191f8066df90f78171d11f.tar.xz |
Don't copy twice
Diffstat (limited to '')
-rw-r--r-- | synapse/events/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py index b2a904b408..39ce4f7c42 100644 --- a/synapse/events/__init__.py +++ b/synapse/events/__init__.py @@ -131,7 +131,7 @@ class FrozenEvent(EventBase): if USE_FROZEN_DICTS: frozen_dict = freeze(event_dict) else: - frozen_dict = dict(event_dict) + frozen_dict = event_dict super(FrozenEvent, self).__init__( frozen_dict, |