summary refs log tree commit diff
path: root/synapse/api/constants.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-29 17:26:24 +0000
committerErik Johnston <erik@matrix.org>2019-01-29 18:06:11 +0000
commit84af5773560d4c468e65fd61f79291e04ed8330f (patch)
tree969f5178170cae7f6539f48bbeccce33b503304b /synapse/api/constants.py
parentRelax requirement for a content-type on .well-known (#4511) (diff)
downloadsynapse-84af5773560d4c468e65fd61f79291e04ed8330f.tar.xz
Implement event format v2
Diffstat (limited to 'synapse/api/constants.py')
-rw-r--r--synapse/api/constants.py2
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,
 }