extend room banning to local+remote room invites

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-03-03 22:20:37 -05:00
1 parent ea66bff46b
commit 34e8fd38cf
3 files changed
+34 -1

No files matched your search

+1 -1
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)