Skip to content
Snippets Groups Projects
Unverified Commit 17f68048 authored by Richard van der Hoff's avatar Richard van der Hoff Committed by GitHub
Browse files

Introduce room v4 which updates event ID format. (#5217)

parent c4aef549
No related branches found
No related tags found
No related merge requests found
Add a new room version which uses a new event ID format. Add a room version 4 which uses a new event ID format, as per [MSC2002](https://github.com/matrix-org/matrix-doc/pull/2002).
Add a room version 4 which uses a new event ID format, as per [MSC2002](https://github.com/matrix-org/matrix-doc/pull/2002).
...@@ -77,9 +77,9 @@ class RoomVersions(object): ...@@ -77,9 +77,9 @@ class RoomVersions(object):
EventFormatVersions.V2, EventFormatVersions.V2,
StateResolutionVersions.V2, StateResolutionVersions.V2,
) )
EVENTID_NOSLASH_TEST = RoomVersion( V4 = RoomVersion(
"eventid-noslash-test", "4",
RoomDisposition.UNSTABLE, RoomDisposition.STABLE,
EventFormatVersions.V3, EventFormatVersions.V3,
StateResolutionVersions.V2, StateResolutionVersions.V2,
) )
...@@ -95,6 +95,6 @@ KNOWN_ROOM_VERSIONS = { ...@@ -95,6 +95,6 @@ KNOWN_ROOM_VERSIONS = {
RoomVersions.V2, RoomVersions.V2,
RoomVersions.V3, RoomVersions.V3,
RoomVersions.STATE_V2_TEST, RoomVersions.STATE_V2_TEST,
RoomVersions.EVENTID_NOSLASH_TEST, RoomVersions.V4,
) )
} # type: dict[str, RoomVersion] } # type: dict[str, RoomVersion]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment