mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
fix: Update comment in src/core/config/mod.rs
This commit is contained in:
@@ -586,10 +586,9 @@
|
|||||||
#allow_unstable_room_versions = true
|
#allow_unstable_room_versions = true
|
||||||
|
|
||||||
# Default room version continuwuity will create rooms with.
|
# Default room version continuwuity will create rooms with.
|
||||||
#
|
|
||||||
# Note that this has to be a string since the room version is a string
|
# Note that this has to be a string since the room version is a string
|
||||||
# rather than an integer. Using an integer without the quotes will make
|
# rather than an integer. Forgetting the quotes will make the server fail
|
||||||
# the server fail on startup!
|
# to start!
|
||||||
#
|
#
|
||||||
# Per spec, room version "11" is the default.
|
# Per spec, room version "11" is the default.
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -703,10 +703,13 @@ pub struct Config {
|
|||||||
pub allow_unstable_room_versions: bool,
|
pub allow_unstable_room_versions: bool,
|
||||||
|
|
||||||
/// Default room version continuwuity will create rooms with.
|
/// Default room version continuwuity will create rooms with.
|
||||||
|
/// Note that this has to be a string since the room version is a string
|
||||||
|
/// 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 "11" is the default.
|
||||||
///
|
///
|
||||||
/// default: 11
|
/// default: "11"
|
||||||
#[serde(default = "default_default_room_version")]
|
#[serde(default = "default_default_room_version")]
|
||||||
pub default_room_version: RoomVersionId,
|
pub default_room_version: RoomVersionId,
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user