feat: Force leave remote rooms admin command

This commit is contained in:
nexy7574
2025-07-30 19:19:32 +01:00
committed by nex
parent d970df5fd2
commit 241371463e
4 changed files with 36 additions and 4 deletions
+6
View File
@@ -103,6 +103,12 @@ pub enum UserCommand {
room_id: OwnedRoomOrAliasId,
},
/// - Manually leave a remote room for a local user.
ForceLeaveRemoteRoom {
user_id: String,
room_id: OwnedRoomOrAliasId,
},
/// - Forces the specified user to drop their power levels to the room
/// default, if their permissions allow and the auth check permits
ForceDemote {