synapse-old/synapse/events
Richard van der Hoff 78a15b1f9d
Store room_versions in EventBase objects (#6875)
This is a bit fiddly because it all has to be done on one fell swoop:

* Wherever we create a new event, pass in the room version (and check it matches the format version)
* When we prune an event, use the room version of the unpruned event to create the pruned version.
* When we pass an event over the replication protocol, pass the room version over alongside it, and use it when deserialising the event again.
2020-03-05 15:46:44 +00:00
..
__init__.py Store room_versions in EventBase objects (#6875) 2020-03-05 15:46:44 +00:00
builder.py Add a `make_event_from_dict` method (#6858) 2020-02-07 15:30:04 +00:00
snapshot.py Add StateMap type alias (#6715) 2020-01-16 13:31:22 +00:00
spamcheck.py Add type hints to the spam check module (#6915) 2020-02-14 12:49:40 -05:00
third_party_rules.py Third party event rules Update (#6781) 2020-02-06 14:15:29 +00:00
utils.py Store room_versions in EventBase objects (#6875) 2020-03-05 15:46:44 +00:00
validator.py Implement per-room message retention policies 2019-11-04 17:09:22 +00:00