mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-27 20:52:30 +00:00
![Richard van der Hoff](/assets/img/avatar_default.png)
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.
2 lines
76 B
Plaintext
2 lines
76 B
Plaintext
Refactoring work in preparation for changing the event redaction algorithm.
|