From 511f6bd6b518754a70320f25b5508d2d9e5b5c00 Mon Sep 17 00:00:00 2001 From: Noah Hilverling Date: Tue, 30 Mar 2021 15:22:59 +0200 Subject: [PATCH] Notifications: Make sure not to send reminder notification, if problem notification has been suppressed --- lib/notification/notificationcomponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/notification/notificationcomponent.cpp b/lib/notification/notificationcomponent.cpp index b81092ff1..77601731b 100644 --- a/lib/notification/notificationcomponent.cpp +++ b/lib/notification/notificationcomponent.cpp @@ -233,7 +233,7 @@ void NotificationComponent::NotificationTimerHandler() continue; /* Don't send reminder notifications before initial ones. */ - if (checkable->GetSuppressedNotifications() & NotificationProblem) + if (checkable->GetSuppressedNotifications() & NotificationProblem || notification->GetSuppressedNotifications() & NotificationProblem) continue; /* Skip in runtime filters. */