mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
add force_leave_room admin command
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
ae98610c50
commit
3a623dbdc3
2 files changed
+25
-1
No files matched your search
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user