Add missing plugin forward between LoggedInAppScopeFlowNode and LoggedInFlowNode. The RoomComponent was not created.

Fix crash when opening a room.
This commit is contained in:
Benoit Marty
2023-08-28 16:54:08 +02:00
parent 29465f49ae
commit 8c2cc41f97
@@ -102,7 +102,8 @@ class LoggedInAppScopeFlowNode @AssistedInject constructor(
plugins<Callback>().forEach { it.onOpenBugReport() } plugins<Callback>().forEach { it.onOpenBugReport() }
} }
} }
createNode<LoggedInFlowNode>(buildContext, listOf(callback)) val nodeLifecycleCallbacks = plugins<NodeLifecycleCallback>()
createNode<LoggedInFlowNode>(buildContext, nodeLifecycleCallbacks + callback)
} }
} }
} }