docs(docs): update supported room versions

Updates supported room version to state we support 6-12, and sets 12
as default.
This commit is contained in:
ezera
2026-04-06 23:00:19 -05:00
committed by Ellis Git
parent 1aa44f9834
commit 66be11a978
3 changed files with 8 additions and 7 deletions
+4 -4
View File
@@ -753,7 +753,7 @@ pub struct Config {
/// Set to false to disable users from joining or creating room versions
/// that aren't officially supported by continuwuity.
///
/// continuwuity officially supports room versions 6 - 11.
/// continuwuity officially supports room versions 6 - 12.
///
/// continuwuity has slightly experimental (though works fine in practice)
/// support for versions 3 - 5.
@@ -765,9 +765,9 @@ pub struct Config {
/// rather than an integer. Forgetting the quotes will make the server fail
/// to start!
///
/// Per spec, room version "11" is the default.
/// Per spec, room version "12" is the default.
///
/// default: "11"
/// default: "12"
#[serde(default = "default_default_room_version")]
pub default_room_version: RoomVersionId,
@@ -2828,7 +2828,7 @@ fn default_rocksdb_stats_level() -> u8 { 1 }
// I know, it's a great name
#[must_use]
#[inline]
pub fn default_default_room_version() -> RoomVersionId { RoomVersionId::V11 }
pub fn default_default_room_version() -> RoomVersionId { RoomVersionId::V12 }
fn default_ip_range_denylist() -> Vec<String> {
vec![