diff --git a/src/qml/Component/TimelineView.qml b/src/qml/Component/TimelineView.qml index b65bb6d2c..30e409f7a 100644 --- a/src/qml/Component/TimelineView.qml +++ b/src/qml/Component/TimelineView.qml @@ -15,6 +15,7 @@ import org.kde.neochat 1.0 QQC2.ScrollView { id: root required property NeoChatRoom currentRoom + required property NeoChatConnection connection onCurrentRoomChanged: { roomChanging = true; roomChangingTimer.restart() diff --git a/src/qml/Page/RoomPage.qml b/src/qml/Page/RoomPage.qml index 7ca3997e8..b2622183e 100644 --- a/src/qml/Page/RoomPage.qml +++ b/src/qml/Page/RoomPage.qml @@ -77,6 +77,7 @@ Kirigami.Page { chatBoxLoader.item.forceActiveFocus() } } + connection: root.connection } }