Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Introduce room v4 which updates event ID format.
Browse files Browse the repository at this point in the history
  • Loading branch information
richvdh committed May 21, 2019
1 parent 24b93b9 commit cba5bbd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion changelog.d/5210.feature
Original file line number Diff line number Diff line change
@@ -1 +1 @@
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).
1 change: 1 addition & 0 deletions changelog.d/5217.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a room version 4 which uses a new event ID format, as per [MSC2002](https://github.com/matrix-org/matrix-doc/pull/2002).
8 changes: 4 additions & 4 deletions synapse/api/room_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand All @@ -95,6 +95,6 @@ class RoomVersions(object):
RoomVersions.V2,
RoomVersions.V3,
RoomVersions.STATE_V2_TEST,
RoomVersions.EVENTID_NOSLASH_TEST,
RoomVersions.V4,
)
} # type: dict[str, RoomVersion]

0 comments on commit cba5bbd

Please sign in to comment.