feat: Force leave remote rooms admin command

This commit is contained in:
nexy7574 authored and nex committed 2025-09-01 11:27:58 +00:00
1 parent d970df5fd2
commit 241371463e
4 files changed
+36 -4

No files matched your search

+1 -1
View File
@@ -215,7 +215,7 @@ pub async fn leave_room(
Ok(())
}
async fn remote_leave_room(
pub async fn remote_leave_room(
services: &Services,
user_id: &UserId,
room_id: &RoomId,
+1 -1
View File
@@ -29,7 +29,7 @@ pub(crate) use self::{
};
pub use self::{
join::join_room_by_id_helper,
leave::{leave_all_rooms, leave_room},
leave::{leave_all_rooms, leave_room, remote_leave_room},
};
use crate::{Ruma, client::full_user_deactivate};