From 5ad93a777abb249de6e006a5ce07327cb80676e1 Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Wed, 15 Dec 2021 22:07:14 +0100 Subject: [PATCH] Try switching back to ChatListModel for opening chats via notifications --- qml/pages/OverviewPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/pages/OverviewPage.qml b/qml/pages/OverviewPage.qml index 4f828b6..bc057c9 100644 --- a/qml/pages/OverviewPage.qml +++ b/qml/pages/OverviewPage.qml @@ -114,7 +114,7 @@ Page { if(chatListCreated && chatId) { Debug.log("[OverviewPage] Opening Chat: ", chatId); pageStack.pop(overviewPage, PageStackAction.Immediate); - pageStack.push(Qt.resolvedUrl("../pages/ChatPage.qml"), { "chatInformation" : tdLibWrapper.getChat(chatId) }, PageStackAction.Immediate); + pageStack.push(Qt.resolvedUrl("../pages/ChatPage.qml"), { "chatInformation" : chatListModel.getById(chatId) }, PageStackAction.Immediate); chatToOpen = null; } }