1
0
Fork 0
mirror of https://gitlab.com/famedly/conduit.git synced 2025-06-27 16:35:59 +00:00

small correction

This commit is contained in:
avdb13 2024-07-04 20:20:11 +02:00
parent a51a4fdef9
commit b24da3ec25

View file

@ -113,12 +113,12 @@ exclude = ["*.clearnet.onion"]
### Default rooms ### 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 #### 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: In this example, the two configuration options are equivalent:
```toml ```toml
default_rooms = ["#home", "lounge", "!abc123", "#conduit:fachschaften.org"] default_rooms = ["#home", "!abc123", "#conduit:fachschaften.org"]
default_rooms = ["#home:conduit.rs", "#lounge:conduit.rs", "!abc123:conduit.rs", "#conduit:fachschaften.org"] default_rooms = ["#home:conduit.rs", "!abc123:conduit.rs", "#conduit:fachschaften.org"]
``` ```