mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-06-27 16:35:59 +00:00
small correction
This commit is contained in:
parent
a51a4fdef9
commit
b24da3ec25
1 changed files with 4 additions and 4 deletions
|
@ -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"]
|
||||||
```
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue