Notifications: Make sure not to send reminder notification, if problem notification has been suppressed

This commit is contained in:
Noah Hilverling 2021-03-30 15:22:59 +02:00
parent da1dd05dca
commit 511f6bd6b5

View File

@ -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. */