summaryrefslogtreecommitdiff
path: root/notificationconn.cc
diff options
context:
space:
mode:
Diffstat (limited to 'notificationconn.cc')
-rw-r--r--notificationconn.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/notificationconn.cc b/notificationconn.cc
index 7ac17f8..bfe719b 100644
--- a/notificationconn.cc
+++ b/notificationconn.cc
@@ -138,6 +138,11 @@ void NotificationConn::handleMessageReceived()
#if SAILFISH
void NotificationConn::handleNotification(watchfish::Notification *wfn)
{
+ if (wfn->transient()) {
+ // Ignore this notification
+ return;
+ }
+
QString sender = wfn->sender();
short applicationId = _knownSenders.value(sender, 0);
if (!applicationId) {