From 08e586fbf0157e7b5c0f82fab78b9b7d78f719cd 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 b4c88f39d..55e95b9dd 100644 --- a/lib/notification/notificationcomponent.cpp +++ b/lib/notification/notificationcomponent.cpp @@ -235,7 +235,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. */