mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-28 19:59:32 -04:00
Clean up event accesses and tests
This is in preparation to refactor FrozenEvent to support different event formats for different room versions
This commit is contained in:
parent
1b21e771d0
commit
b86d05a279
5 changed files with 7 additions and 10 deletions
|
@ -28,8 +28,8 @@ ROOM_ID = "!room:blue"
|
|||
|
||||
|
||||
def dict_equals(self, other):
|
||||
me = encode_canonical_json(self._event_dict)
|
||||
them = encode_canonical_json(other._event_dict)
|
||||
me = encode_canonical_json(self.get_pdu_json())
|
||||
them = encode_canonical_json(other.get_pdu_json())
|
||||
return me == them
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue