mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
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:
@@ -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![
|
||||
|
||||
Reference in New Issue
Block a user