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 9830dc194b
commit 08e586fbf0
1 changed files with 1 additions and 1 deletions

View File

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