summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-05-29 15:02:55 +0100
committerErik Johnston <erik@matrix.org>2015-05-29 15:02:55 +0100
commitca580ef862fe1c21bf191f8066df90f78171d11f (patch)
treeab3d17e725bfcd1c8a4691016e7f6d8faecbefa0 /synapse
parentMerge pull request #169 from matrix-org/erikj/ultrajson (diff)
downloadsynapse-ca580ef862fe1c21bf191f8066df90f78171d11f.tar.xz
Don't copy twice
Diffstat (limited to 'synapse')
-rw-r--r--synapse/events/__init__.py2
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,