extend room banning to local+remote room invites

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-02 21:49:04 -05:00 committed by June
parent ea66bff46b
commit 34e8fd38cf
3 changed files with 34 additions and 1 deletions

View file

@ -212,7 +212,7 @@ enum RoomCommand {
#[cfg_attr(test, derive(Debug))]
#[derive(Subcommand)]
enum RoomModeration {
/// - Bans a room from local users joining and evicts all our local users from the room.
/// - Bans a room from local users joining and evicts all our local users from the room. Also blocks any invites (local and remote) for the banned room.
///
/// Server admins (users in the conduwuit admin room) will not be evicted and server admins can still join the room.
/// To evict admins too, use --force (also ignores errors)