diff options
author | Erik Johnston <erik@matrix.org> | 2015-02-11 15:44:28 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-02-11 15:44:28 +0000 |
commit | ddb816cf60ca1b0c0f9bfab5df233a010ac309a3 (patch) | |
tree | c3db58914617f2375c603f6c5d1eb8ca5d2600b2 /synapse/events/__init__.py | |
parent | Blunty replace json with simplejson (diff) | |
download | synapse-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/__init__.py')
-rw-r--r-- | synapse/events/__init__.py | 4 |
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__() |