diff --git a/features/space/impl/src/main/kotlin/io/element/android/features/space/impl/SpaceFlowNode.kt b/features/space/impl/src/main/kotlin/io/element/android/features/space/impl/SpaceFlowNode.kt index 0123beb515..2b29a895a6 100644 --- a/features/space/impl/src/main/kotlin/io/element/android/features/space/impl/SpaceFlowNode.kt +++ b/features/space/impl/src/main/kotlin/io/element/android/features/space/impl/SpaceFlowNode.kt @@ -166,7 +166,7 @@ class SpaceFlowNode( buildContext = buildContext, callback = callback, ) - .setParentSpace(spaceRoomList.roomId) + .setParentSpace(spaceRoomList.spaceId) .build() } NavTarget.AddRoom -> {