From d5ad7202ea77e8a512073f9ce09b6c07e37d6305 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Sun, 6 Feb 2022 20:42:01 +0100 Subject: Move notifications to own header file - also make a skel for files in /usr/, useful for sounds and notifyrc - build.sh use plain simple cp -r to copy the skel. also copies the knotifications5 in the current directory for qml.qrc embedding in case the app is used on android. --- qml/ChatPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qml') 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) { -- cgit v1.2.3-70-g09d2