Skip to content

Commit 86ad01c

Browse files
authored
Merge pull request #1160 from vector-im/feature/bma/fixOpeningRoomCrash
Add missing plugin forward between `LoggedInAppScopeFlowNode` and `LoggedInFlowNode`
2 parents 29465f4 + a700f11 commit 86ad01c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

appnav/src/main/kotlin/io/element/android/appnav/LoggedInAppScopeFlowNode.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ class LoggedInAppScopeFlowNode @AssistedInject constructor(
102102
plugins<Callback>().forEach { it.onOpenBugReport() }
103103
}
104104
}
105-
createNode<LoggedInFlowNode>(buildContext, listOf(callback))
105+
val nodeLifecycleCallbacks = plugins<NodeLifecycleCallback>()
106+
createNode<LoggedInFlowNode>(buildContext, nodeLifecycleCallbacks + callback)
106107
}
107108
}
108109
}

changelog.d/1160.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix crash when opening any room.

0 commit comments

Comments
 (0)