From ebe0143a8a9945b115d853bc1585eeb6c8fbc510 Mon Sep 17 00:00:00 2001 From: Sebastian Wolf Date: Fri, 22 Apr 2022 00:07:15 +0200 Subject: [PATCH] SFOS 4.4 removed notification categories, fixes #486 --- src/notificationmanager.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/notificationmanager.cpp b/src/notificationmanager.cpp index f814d9a..cec0cc0 100644 --- a/src/notificationmanager.cpp +++ b/src/notificationmanager.cpp @@ -65,6 +65,7 @@ namespace { const QString HINT_SUPPRESS_SOUND("suppress-sound"); // bool const QString HINT_DISPLAY_ON("x-nemo-display-on"); // bool const QString HINT_VISIBILITY("x-nemo-visibility"); // QString + const QString HINT_FEEDBACK("x-nemo-feedback"); // QString const QString VISIBILITY_PUBLIC("public"); } @@ -216,6 +217,7 @@ void NotificationManager::updateNotificationGroup(int groupId, qlonglong chatId, notification->setHintValue(HINT_GROUP_ID, groupId); notification->setHintValue(HINT_CHAT_ID, chatId); notification->setHintValue(HINT_TOTAL_COUNT, totalCount); + notification->setHintValue(HINT_FEEDBACK, "chat_exists"); notificationGroups.insert(groupId, notificationGroup = new NotificationGroup(groupId, chatId, totalCount, notification)); }