From 64e187e5b4a02b9808df4ee716b63b4d42ab39e0 Mon Sep 17 00:00:00 2001 From: Ginger Date: Mon, 15 Dec 2025 09:56:18 -0500 Subject: [PATCH] fix: Update comment in src/core/config/mod.rs --- conduwuit-example.toml | 5 ++--- src/core/config/mod.rs | 7 +++++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/conduwuit-example.toml b/conduwuit-example.toml index e6a30740..1edb7e0e 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -586,10 +586,9 @@ #allow_unstable_room_versions = true # 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. Using an integer without the quotes will make -# the server fail on startup! +# rather than an integer. Forgetting the quotes will make the server fail +# to start! # # Per spec, room version "11" is the default. # diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index fbb29357..c60d3115 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -703,10 +703,13 @@ pub struct Config { pub allow_unstable_room_versions: bool, /// 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")] pub default_room_version: RoomVersionId,