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

Commit 7ecc555

Browse files
committed
Add MSC1767's dedicated room version, based on v10
1 parent 3da6450 commit 7ecc555

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

synapse/api/room_versions.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,25 @@ class RoomVersions:
347347
msc3667_int_only_power_levels=False,
348348
msc3931_push_features=[],
349349
)
350+
MSC1767v10 = RoomVersion(
351+
# MSC1767 (Extensible Events) based on room version "10"
352+
"org.matrix.msc1767.10",
353+
RoomDisposition.UNSTABLE,
354+
EventFormatVersions.ROOM_V4_PLUS,
355+
StateResolutionVersions.V2,
356+
enforce_key_validity=True,
357+
special_case_aliases_auth=False,
358+
strict_canonicaljson=True,
359+
limit_notifications_power_levels=True,
360+
msc2176_redaction_rules=False,
361+
msc3083_join_rules=True,
362+
msc3375_redaction_rules=True,
363+
msc2403_knocking=True,
364+
msc2716_historical=False,
365+
msc2716_redactions=False,
366+
msc3787_knock_restricted_join_rule=True,
367+
msc3667_int_only_power_levels=True,
368+
)
350369

351370

352371
KNOWN_ROOM_VERSIONS: Dict[str, RoomVersion] = {

0 commit comments

Comments
 (0)