mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-02 09:16:02 -04:00
Don't unfreeze when using FreezeEvent.get_dict, as we are using a JSONEncoder that understands FrozenDict
This commit is contained in:
parent
4ebbaf0d43
commit
ddb816cf60
6 changed files with 36 additions and 13 deletions
|
@ -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__()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue