diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-03-05 15:46:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-05 15:46:44 +0000 |
commit | 78a15b1f9d3ba3aca49dc4332e86203180d5c863 (patch) | |
tree | 2a732b93bff830e3087234e0186b8d4c2c4dea2c /changelog.d/6875.misc | |
parent | Merge pull request #7035 from matrix-org/babolivier/hide_dummy_events (diff) | |
download | synapse-78a15b1f9d3ba3aca49dc4332e86203180d5c863.tar.xz |
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.
Diffstat (limited to 'changelog.d/6875.misc')
-rw-r--r-- | changelog.d/6875.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/6875.misc b/changelog.d/6875.misc new file mode 100644 index 0000000000..08aa80bcd9 --- /dev/null +++ b/changelog.d/6875.misc @@ -0,0 +1 @@ +Refactoring work in preparation for changing the event redaction algorithm. |