aboutsummaryrefslogtreecommitdiff
path: root/qml/ChatlistPage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml/ChatlistPage.qml')
-rw-r--r--qml/ChatlistPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/ChatlistPage.qml b/qml/ChatlistPage.qml
index d095025..dfc41f0 100644
--- a/qml/ChatlistPage.qml
+++ b/qml/ChatlistPage.qml
@@ -111,7 +111,7 @@ Kirigami.ScrollablePage {
console.log("Depth is " + pageStack.depth)
let chatPageComponent = Qt.createComponent("qrc:/qml/ChatPage.qml")
if (chatPageComponent.status == Component.Ready) {
- let myPage = chatPageComponent.createObject(chatlistPage, {chatId: chatId})
+ let myPage = chatPageComponent.createObject(chatlistPage, {chatId: chatId, context: chatlistPage.context, eventEmitter: chatlistPage.eventEmitter})
if (pageStack.depth == 1) {
pageStack.push(myPage)
} else if (pageStack.depth == 2) {