Merge pull request #1160 from vector-im/feature/bma/fixOpeningRoomCrash

Add missing plugin forward between `LoggedInAppScopeFlowNode` and `LoggedInFlowNode`
This commit is contained in:
Benoit Marty
2023-08-28 17:16:09 +02:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -102,7 +102,8 @@ class LoggedInAppScopeFlowNode @AssistedInject constructor(
plugins<Callback>().forEach { it.onOpenBugReport() }
}
}
createNode<LoggedInFlowNode>(buildContext, listOf(callback))
val nodeLifecycleCallbacks = plugins<NodeLifecycleCallback>()
createNode<LoggedInFlowNode>(buildContext, nodeLifecycleCallbacks + callback)
}
}
}

1
changelog.d/1160.bugfix Normal file
View File

@@ -0,0 +1 @@
Fix crash when opening any room.