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:
@@ -0,0 +1 @@
|
|||||||
|
Updated config docs to state we support room version 12, and set it as default. Contributed by @ezera.
|
||||||
@@ -619,7 +619,7 @@
|
|||||||
# Set to false to disable users from joining or creating room versions
|
# Set to false to disable users from joining or creating room versions
|
||||||
# that aren't officially supported by continuwuity.
|
# 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)
|
# continuwuity has slightly experimental (though works fine in practice)
|
||||||
# support for versions 3 - 5.
|
# support for versions 3 - 5.
|
||||||
@@ -631,9 +631,9 @@
|
|||||||
# rather than an integer. Forgetting the quotes will make the server fail
|
# rather than an integer. Forgetting the quotes will make the server fail
|
||||||
# to start!
|
# to start!
|
||||||
#
|
#
|
||||||
# Per spec, room version "11" is the default.
|
# Per spec, room version "12" is the default.
|
||||||
#
|
#
|
||||||
#default_room_version = "11"
|
#default_room_version = "12"
|
||||||
|
|
||||||
# Enable OpenTelemetry OTLP tracing export. This replaces the deprecated
|
# Enable OpenTelemetry OTLP tracing export. This replaces the deprecated
|
||||||
# Jaeger exporter. Traces will be sent via OTLP to a collector (such as
|
# Jaeger exporter. Traces will be sent via OTLP to a collector (such as
|
||||||
|
|||||||
@@ -753,7 +753,7 @@ pub struct Config {
|
|||||||
/// Set to false to disable users from joining or creating room versions
|
/// Set to false to disable users from joining or creating room versions
|
||||||
/// that aren't officially supported by continuwuity.
|
/// 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)
|
/// continuwuity has slightly experimental (though works fine in practice)
|
||||||
/// support for versions 3 - 5.
|
/// support for versions 3 - 5.
|
||||||
@@ -765,9 +765,9 @@ pub struct Config {
|
|||||||
/// rather than an integer. Forgetting the quotes will make the server fail
|
/// rather than an integer. Forgetting the quotes will make the server fail
|
||||||
/// to start!
|
/// 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")]
|
#[serde(default = "default_default_room_version")]
|
||||||
pub default_room_version: RoomVersionId,
|
pub default_room_version: RoomVersionId,
|
||||||
|
|
||||||
@@ -2828,7 +2828,7 @@ fn default_rocksdb_stats_level() -> u8 { 1 }
|
|||||||
// I know, it's a great name
|
// I know, it's a great name
|
||||||
#[must_use]
|
#[must_use]
|
||||||
#[inline]
|
#[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> {
|
fn default_ip_range_denylist() -> Vec<String> {
|
||||||
vec![
|
vec![
|
||||||
|
|||||||
Reference in New Issue
Block a user