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

Commit a621ba0

Browse files
authored
Prefer room v9 for restricted rooms. (#10772)
Hint to clients via the room capabilities API (MSC3244) that room version 9 should be preferred for creating a room with restricted join rules (instead of room version 8).
1 parent abedf7d commit a621ba0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/10772.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Prefer [room version 9](https://github.com/matrix-org/matrix-doc/pull/3375) for restricted rooms per the [room version caapabilities](https://github.com/matrix-org/matrix-doc/pull/3244) API.

synapse/api/room_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ class RoomVersionCapability:
324324
),
325325
RoomVersionCapability(
326326
"restricted",
327-
RoomVersions.V8,
327+
RoomVersions.V9,
328328
lambda room_version: room_version.msc3083_join_rules,
329329
),
330330
)

0 commit comments

Comments
 (0)