summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-01-29 21:40:00 +0000
committerGitHub <noreply@github.com>2019-01-29 21:40:00 +0000
commit6f9cdc2d47239f6cb7596a2a875379287a8fe83a (patch)
tree0edf9ec31f152ef45541b16ff9ed4a3c68bac142 /synapse/api
parentMerge pull request #4512 from matrix-org/anoa/consent_dir (diff)
parentNewsfile (diff)
downloadsynapse-6f9cdc2d47239f6cb7596a2a875379287a8fe83a.tar.xz
Merge pull request #4483 from matrix-org/erikj/event_v2
Implement event format V2
Diffstat (limited to 'synapse/api')
-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,
 }