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; } }