Try switching back to ChatListModel for opening chats via notifications

This commit is contained in:
Sebastian Wolf 2021-12-15 22:07:14 +01:00
parent fb4ce26dd3
commit 5ad93a777a
No known key found for this signature in database
GPG key ID: CEA9522B5F38A90A

View file

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