Try switching back to ChatListModel for opening chats via notifications
This commit is contained in:
parent
fb4ce26dd3
commit
5ad93a777a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue