sdk (space) : use the new space/spaceUpdate api from space list

This commit is contained in:
ganfra
2025-09-24 12:48:24 +02:00
parent 4a093bea67
commit 718b4dd11b
12 changed files with 38 additions and 128 deletions

View File

@@ -94,9 +94,7 @@ class JoinRoomPresenter(
val roomInfo by remember {
matrixClient.getRoomInfoFlow(roomId)
}.collectAsState(initial = Optional.empty())
val spaceRoom by remember {
spaceList.currentSpaceFlow()
}.collectAsState()
val spaceRoom by spaceList.currentSpaceFlow.collectAsState()
val joinAction: MutableState<AsyncAction<Unit>> = remember { mutableStateOf(AsyncAction.Uninitialized) }
val knockAction: MutableState<AsyncAction<Unit>> = remember { mutableStateOf(AsyncAction.Uninitialized) }
val cancelKnockAction: MutableState<AsyncAction<Unit>> = remember { mutableStateOf(AsyncAction.Uninitialized) }