docs: Add suggestion about auto join room

Adds suggestion to suspend_on_register doc that admins
should add a room that contains information to their
auto_join_rooms as to not confuse new users who may be
lost at the fact they can't join any rooms or send any
messages.
This commit is contained in:
nexy7574 2025-07-02 00:44:47 +01:00 committed by Ellis Git
parent 6e60918584
commit 8e0852e5b5

View file

@ -521,6 +521,11 @@ pub struct Config {
/// leave rooms, and deactivate their account, however cannot send messages,
/// invites, or create/join or otherwise modify rooms.
/// They are effectively read-only.
///
/// If you want to use this to screen people who register on your server,
/// you should add a room to `auto_join_rooms` that is public, and contains
/// information that new users can read (since they won't be able to DM
/// anyone, or send a message, and may be confused).
#[serde(default)]
pub suspend_on_register: bool,