Add manage mode to space view for removing child rooms, wip.

This commit is contained in:
ganfra 2026-01-13 22:08:48 +01:00
parent 9b2cd12c26
commit b7ff884838
11 changed files with 263 additions and 21 deletions

View file

@ -18,4 +18,12 @@ interface SpaceService {
fun spaceRoomList(id: RoomId): SpaceRoomList
fun getLeaveSpaceHandle(spaceId: RoomId): LeaveSpaceHandle
/**
* Remove a child room from a space.
* @param spaceId The space ID from which to remove the child.
* @param childId The room ID of the child to remove.
* @return A result indicating success or failure.
*/
suspend fun removeChildFromSpace(spaceId: RoomId, childId: RoomId): Result<Unit>
}