add force_leave_room admin command
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
ae98610c50
commit
3a623dbdc3
2 changed files with 25 additions and 1 deletions
|
@ -73,6 +73,12 @@ pub(super) enum UserCommand {
|
|||
room_id: OwnedRoomOrAliasId,
|
||||
},
|
||||
|
||||
/// - Manually leave a local user from a room.
|
||||
ForceLeaveRoom {
|
||||
user_id: String,
|
||||
room_id: OwnedRoomOrAliasId,
|
||||
},
|
||||
|
||||
/// - Grant server-admin privileges to a user.
|
||||
MakeUserAdmin {
|
||||
user_id: String,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue