Add manage mode to space view for removing child rooms, wip.
This commit is contained in:
parent
9b2cd12c26
commit
b7ff884838
11 changed files with 263 additions and 21 deletions
|
|
@ -79,6 +79,12 @@ class RustSpaceService(
|
|||
}
|
||||
}
|
||||
|
||||
override suspend fun removeChildFromSpace(spaceId: RoomId, childId: RoomId): Result<Unit> = withContext(sessionDispatcher) {
|
||||
runCatchingExceptions {
|
||||
innerSpaceService.removeChildFromSpace(spaceId.value, childId.value)
|
||||
}
|
||||
}
|
||||
|
||||
init {
|
||||
innerSpaceService
|
||||
.spaceListUpdate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue