diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-23 11:11:52 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-23 11:30:01 +0000 |
commit | c5a296b10c53aa523facf16c3a4c918f93b8188c (patch) | |
tree | d17212410a737d80859c95ba2aea433ec32bf571 /synapse/metrics | |
parent | Merge pull request #4434 from matrix-org/erikj/fix_user_ips_dedup (diff) | |
download | synapse-c5a296b10c53aa523facf16c3a4c918f93b8188c.tar.xz |
Add support for persisting event format versions
Currently we only have the one event format version defined, but this adds the necessary infrastructure to persist and fetch the format versions alongside the events. We specify the format version rather than the room version as: 1. We don't necessarily know the room version, existing events may be either v1 or v2. 2. We'd need to be careful to prevent/handle correctly if different events in the same room reported to be of different versions, which sounds annoying.
Diffstat (limited to 'synapse/metrics')
0 files changed, 0 insertions, 0 deletions