feat: admin commands for mass-rejecting invites

This commit is contained in:
31a05b9c
2026-05-06 16:17:42 +00:00
committed by 31a05b9c-5ef6-4a9b-90f9-80241c8cf499
parent 1605176956
commit 9724953b5e
2 changed files with 87 additions and 0 deletions
+11
View File
@@ -160,12 +160,23 @@ pub enum UserCommand {
#[clap(alias = "list")]
ListUsers,
/// Lists all the rooms (local and remote) that the specified user is
/// invited to
ListInvitedRooms {
user_id: String,
},
/// Lists all the rooms (local and remote) that the specified user is
/// joined in
ListJoinedRooms {
user_id: String,
},
/// Manually make a user reject all current invites
ForceRejectInvites {
user_id: String,
},
/// Manually join a local user to a room.
ForceJoinRoom {
user_id: String,