From 7f3f628b7de4468c6907db5a5df00a94205c697d Mon Sep 17 00:00:00 2001 From: Tobias Fella Date: Thu, 14 Sep 2023 13:32:07 +0200 Subject: [PATCH] Fix missing connection --- src/qml/Component/TimelineView.qml | 1 + src/qml/Page/RoomPage.qml | 1 + 2 files changed, 2 insertions(+) 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 } }