diff --git a/src/app/qml/Main.qml b/src/app/qml/Main.qml index 2e2afde2c..cf3074ded 100644 --- a/src/app/qml/Main.qml +++ b/src/app/qml/Main.qml @@ -119,9 +119,9 @@ Kirigami.ApplicationWindow { } function onAskDirectChatConfirmation(user) { - Qt.createComponent("org.kde.neochat", "AskDirectChatConfirmation").createObject(this, { + (Qt.createComponent("org.kde.neochat", "AskDirectChatConfirmation").createObject(this, { user: user - }).open(); + }) as AskDirectChatConfirmation).open(); } function onExternalUrl(url) {