diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-29 17:26:24 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-29 18:06:11 +0000 |
commit | 84af5773560d4c468e65fd61f79291e04ed8330f (patch) | |
tree | 969f5178170cae7f6539f48bbeccce33b503304b /synapse/api | |
parent | Relax requirement for a content-type on .well-known (#4511) (diff) | |
download | synapse-84af5773560d4c468e65fd61f79291e04ed8330f.tar.xz |
Implement event format v2
Diffstat (limited to 'synapse/api')
-rw-r--r-- | synapse/api/constants.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 51ee078bc3..b248e193fa 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -126,10 +126,12 @@ class EventFormatVersions(object): independently from the room version. """ V1 = 1 + V2 = 2 KNOWN_EVENT_FORMAT_VERSIONS = { EventFormatVersions.V1, + EventFormatVersions.V2, } |