aboutsummaryrefslogtreecommitdiff
path: root/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml')
-rw-r--r--qml/ChatPage.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/qml/ChatPage.qml b/qml/ChatPage.qml
index 667e01d..a82e0f6 100644
--- a/qml/ChatPage.qml
+++ b/qml/ChatPage.qml
@@ -57,7 +57,7 @@ Kirigami.ScrollablePage {
updateMessagelist();
console.log("Incoming message for chat " + chatId);
if(!chat.muted || chatId != 0 || chatId != root.chatId)
- chat.notifyNewMess();
+ KNotif.send("onIncomingMessage",chat.getProfileImage() ,chat.name ,"has sent you a message.")
}
function onMessagesChanged(accountId, chatId, msgId) {