summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-11 15:44:28 +0000
committerErik Johnston <erik@matrix.org>2015-02-11 15:44:28 +0000
commitddb816cf60ca1b0c0f9bfab5df233a010ac309a3 (patch)
treec3db58914617f2375c603f6c5d1eb8ca5d2600b2 /synapse/events
parentBlunty replace json with simplejson (diff)
downloadsynapse-ddb816cf60ca1b0c0f9bfab5df233a010ac309a3.tar.xz
Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict
Diffstat (limited to 'synapse/events')
-rw-r--r--synapse/events/__init__.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index 8f0c6e959f..f4ec8cd18c 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -140,10 +140,6 @@ class FrozenEvent(EventBase):
 
         return e
 
-    def get_dict(self):
-        # We need to unfreeze what we return
-        return unfreeze(super(FrozenEvent, self).get_dict())
-
     def __str__(self):
         return self.__repr__()