summary refs log tree commit diff
path: root/synapse/api/room_versions.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-09-09 07:37:33 -0400
committerGitHub <noreply@github.com>2021-09-09 07:37:33 -0400
commita621ba0259eec3501e77a2812f77ff4ceae346f9 (patch)
tree8717ec789953137ba49109c7d79b37048241e9eb /synapse/api/room_versions.py
parentGet rid of `_auth_and_persist_event` (#10781) (diff)
downloadsynapse-a621ba0259eec3501e77a2812f77ff4ceae346f9.tar.xz
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).
Diffstat (limited to 'synapse/api/room_versions.py')
-rw-r--r--synapse/api/room_versions.py2
1 files changed, 1 insertions, 1 deletions
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,
         ),
     )