diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-05-21 16:22:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-21 16:22:54 +0100 |
commit | 17f68048374cda8bc639d7c048ae21624a124635 (patch) | |
tree | aeba948cf2392a48e82b1bcc7ed34b5e5a1160de /synapse/api/room_versions.py | |
parent | Exclude soft-failed events from fwd-extremity candidates. (#5146) (diff) | |
download | synapse-17f68048374cda8bc639d7c048ae21624a124635.tar.xz |
Introduce room v4 which updates event ID format. (#5217)
Implements https://github.com/matrix-org/matrix-doc/pull/2002.
Diffstat (limited to 'synapse/api/room_versions.py')
-rw-r--r-- | synapse/api/room_versions.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/synapse/api/room_versions.py b/synapse/api/room_versions.py index 485b3d0237..b2895355a8 100644 --- a/synapse/api/room_versions.py +++ b/synapse/api/room_versions.py @@ -77,9 +77,9 @@ class RoomVersions(object): EventFormatVersions.V2, StateResolutionVersions.V2, ) - EVENTID_NOSLASH_TEST = RoomVersion( - "eventid-noslash-test", - RoomDisposition.UNSTABLE, + V4 = RoomVersion( + "4", + RoomDisposition.STABLE, EventFormatVersions.V3, StateResolutionVersions.V2, ) @@ -95,6 +95,6 @@ KNOWN_ROOM_VERSIONS = { RoomVersions.V2, RoomVersions.V3, RoomVersions.STATE_V2_TEST, - RoomVersions.EVENTID_NOSLASH_TEST, + RoomVersions.V4, ) } # type: dict[str, RoomVersion] |