forked from MirrorHub/synapse
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).
This commit is contained in:
parent
abedf7d77f
commit
a621ba0259
1
changelog.d/10772.feature
Normal file
1
changelog.d/10772.feature
Normal file
|
@ -0,0 +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.
|
|
@ -324,7 +324,7 @@ MSC3244_CAPABILITIES = {
|
|||
),
|
||||
RoomVersionCapability(
|
||||
"restricted",
|
||||
RoomVersions.V8,
|
||||
RoomVersions.V9,
|
||||
lambda room_version: room_version.msc3083_join_rules,
|
||||
),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue