From a621ba0259eec3501e77a2812f77ff4ceae346f9 Mon Sep 17 00:00:00 2001 From: Patrick Cloke Date: Thu, 9 Sep 2021 07:37:33 -0400 Subject: 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). --- synapse/api/room_versions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'synapse/api') diff --git a/synapse/api/room_versions.py b/synapse/api/room_versions.py index a19be6707a..61d9c658a9 100644 --- a/synapse/api/room_versions.py +++ b/synapse/api/room_versions.py @@ -324,7 +324,7 @@ MSC3244_CAPABILITIES = { ), RoomVersionCapability( "restricted", - RoomVersions.V8, + RoomVersions.V9, lambda room_version: room_version.msc3083_join_rules, ), ) -- cgit 1.4.1