diff options
author | Javier <dev.git@javispedro.com> | 2016-03-02 23:27:35 +0100 |
---|---|---|
committer | Javier <dev.git@javispedro.com> | 2016-03-02 23:27:35 +0100 |
commit | e9f858da9beb3acac142b9abe7564ee77a0f729e (patch) | |
tree | 9be9b4536047a66a540622a0e3cd5645f478a81c /saltoqd | |
parent | 89d87eba7c792cae62878f8054e4b271c08fe378 (diff) | |
download | saltoq-master.tar.gz saltoq-master.zip |
Diffstat (limited to 'saltoqd')
-rw-r--r-- | saltoqd/notificationmanager.cpp | 5 |
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()); |