summaryrefslogtreecommitdiff
path: root/saltoqd/notificationmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'saltoqd/notificationmanager.cpp')
-rw-r--r--saltoqd/notificationmanager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/saltoqd/notificationmanager.cpp b/saltoqd/notificationmanager.cpp
index 22e8a35..03f6cc5 100644
--- a/saltoqd/notificationmanager.cpp
+++ b/saltoqd/notificationmanager.cpp
@@ -32,6 +32,11 @@ void NotificationManager::handleNotification(Notification *n)
return;
}
+ if (n->transient()) {
+ qDebug() << "Ignoring transient notification" << notificationId;
+ return;
+ }
+
Card *card = new Card(QString::number(qint64(notificationId)));
card->setHeader(n->sender());