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

Add experimental MSC3604-opt1 room version #11662

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions synapse/api/room_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ class RoomVersions:
msc2716_historical=False,
msc2716_redactions=False,
)
# Not to be confused with MSC2176
MSC2716v3 = RoomVersion(
"org.matrix.msc2716v3",
RoomDisposition.UNSTABLE,
Expand All @@ -260,6 +261,22 @@ class RoomVersions:
msc2716_historical=True,
msc2716_redactions=True,
)
MSC3604Opt1 = RoomVersion(
"org.matrix.msc3604.opt1",
RoomDisposition.UNSTABLE,
EventFormatVersions.V3,
StateResolutionVersions.V2,
enforce_key_validity=True,
special_case_aliases_auth=False,
strict_canonicaljson=True,
limit_notifications_power_levels=True,
msc2176_redaction_rules=True,
msc3083_join_rules=True,
msc3375_redaction_rules=True,
msc2403_knocking=True,
msc2716_historical=False,
msc2716_redactions=False,
)


KNOWN_ROOM_VERSIONS: Dict[str, RoomVersion] = {
Expand All @@ -276,6 +293,7 @@ class RoomVersions:
RoomVersions.V8,
RoomVersions.V9,
RoomVersions.MSC2716v3,
RoomVersions.MSC3604Opt1,
)
}

Expand Down