Merge pull request #8708 from Icinga/bugfix/reminder-notification-after-timeperiod-with-interval-0

Make sure not to send reminder notification, if problem notification has been suppressed by TimePeriod
This commit is contained in:
Alexander Aleksandrovič Klimov 2021-05-25 16:09:36 +02:00 committed by GitHub
commit dbcb2549aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ void NotificationComponent::NotificationTimerHandler()
continue; continue;
/* Don't send reminder notifications before initial ones. */ /* Don't send reminder notifications before initial ones. */
if (checkable->GetSuppressedNotifications() & NotificationProblem) if (checkable->GetSuppressedNotifications() & NotificationProblem || notification->GetSuppressedNotifications() & NotificationProblem)
continue; continue;
/* Skip in runtime filters. */ /* Skip in runtime filters. */