MatrixSynapse/synapse
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
..
_scripts
api
app
appservice
config
crypto
events Store room_versions in EventBase objects (#6875) 2020-03-05 15:46:44 +00:00
federation Add some type annotations to the federation base & client classes (#6995) 2020-02-28 07:31:07 -05:00
groups
handlers
http
logging
metrics
module_api
push
replication Store room_versions in EventBase objects (#6875) 2020-03-05 15:46:44 +00:00
res/templates
rest
server_notices Add `local_current_membership` table (#6655) 2020-01-15 14:59:33 +00:00
spam_checker_api
state
static
storage
streams
util Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py
server.py
server.pyi
types.py
visibility.py