0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-06-28 15:38:18 +02:00
synapse/synapse/replication
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
..
http Store room_versions in EventBase objects (#6875) 2020-03-05 15:46:44 +00:00
slave Merge worker apps into one. (#6964) 2020-02-25 16:56:55 +00:00
tcp Port PresenceHandler to async/await (#6991) 2020-02-26 15:33:26 +00:00
__init__.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00