add force_leave_room admin command

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry committed 2024-08-30 17:17:00 -04:00
1 parent ae98610c50
commit 3a623dbdc3
2 files changed
+25 -1

No files matched your search

+6
View File
@@ -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,