Merge pull request #7818 from Icinga/bugfix/no_more_notifications-7758

Don't set Notification#no_more_notifications on custom notifications
This commit is contained in:
Yonas Habteab 2024-11-15 14:43:12 +01:00 committed by GitHub
commit 2931aea9bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -389,7 +389,7 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe
if (type == NotificationProblem && GetInterval() <= 0) if (type == NotificationProblem && GetInterval() <= 0)
SetNoMoreNotifications(true); SetNoMoreNotifications(true);
else else if (type != NotificationCustom)
SetNoMoreNotifications(false); SetNoMoreNotifications(false);
if (type == NotificationProblem && GetInterval() > 0) if (type == NotificationProblem && GetInterval() > 0)