summary refs log tree commit diff
path: root/synapse/events
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-29 17:35:31 +0000
committerErik Johnston <erik@matrix.org>2019-01-29 23:09:10 +0000
commita1b0e1879b8bdc3dbff168f5948c35c423640f2a (patch)
treea68d0326fb918fd065fe1ea9ee8771ba597655e5 /synapse/events
parentMerge pull request #4499 from matrix-org/erikj/redactions_eiah (diff)
downloadsynapse-a1b0e1879b8bdc3dbff168f5948c35c423640f2a.tar.xz
Enable room version v3
Diffstat (limited to 'synapse/events')
-rw-r--r--synapse/events/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index 697cf58582..20c1ab4203 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -346,6 +346,8 @@ def room_version_to_event_format(room_version):
         RoomVersions.V1, RoomVersions.V2, RoomVersions.STATE_V2_TEST,
     ):
         return EventFormatVersions.V1
+    elif room_version in (RoomVersions.V3,):
+        return EventFormatVersions.V2
     else:
         raise RuntimeError("Unrecognized room version %s" % (room_version,))