From b24da3ec259470cc145b2742f69a18b6d6532b47 Mon Sep 17 00:00:00 2001 From: avdb13 Date: Thu, 4 Jul 2024 20:20:11 +0200 Subject: [PATCH] small correction --- docs/configuration.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/configuration.md b/docs/configuration.md index 93b26576..a42fc33a 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -113,12 +113,12 @@ exclude = ["*.clearnet.onion"] ### Default rooms -There is a shorthand syntax specialized for convenience for these values. The server name is optional for local room IDs. -The same rule applies to local aliases in addition to not requiring the pound sign prefix. #### Example +Since the validation of room aliases and IDs does validate the presence of a colon separator, +this symbol including the server name can be ommitted for local rooms. In this example, the two configuration options are equivalent: ```toml -default_rooms = ["#home", "lounge", "!abc123", "#conduit:fachschaften.org"] -default_rooms = ["#home:conduit.rs", "#lounge:conduit.rs", "!abc123:conduit.rs", "#conduit:fachschaften.org"] +default_rooms = ["#home", "!abc123", "#conduit:fachschaften.org"] +default_rooms = ["#home:conduit.rs", "!abc123:conduit.rs", "#conduit:fachschaften.org"] ```