Fix back navigation after creating a room in a space (#6134)

* Fix back navigation after creating a room in a space

Previously, this displayed the 'invite users to the room' screen instead of going back to the parent space screen
This commit is contained in:
Jorge Martin Espinosa 2026-02-04 16:03:12 +01:00 committed by GitHub
parent 9ee40c4fca
commit 2a2073fce0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -177,6 +177,7 @@ class SpaceFlowNode(
// Reset the room list in the space so this new room is displayed
lifecycleScope.launch { spaceRoomList.reset() }
callback.navigateToRoom(roomId, emptyList())
backstack.pop()
}
}
createRoomEntryPoint