From 35a705752ff765b0005146d7966e2ddb3896cf0c Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Thu, 14 Mar 2024 16:29:49 +0100 Subject: [PATCH] Don't set Notification#no_more_notifications on custom notifications --- lib/icinga/notification.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/icinga/notification.cpp b/lib/icinga/notification.cpp index 81a48bada8..bd3158ced5 100644 --- a/lib/icinga/notification.cpp +++ b/lib/icinga/notification.cpp @@ -389,7 +389,7 @@ void Notification::BeginExecuteNotification(NotificationType type, const CheckRe if (type == NotificationProblem && GetInterval() <= 0) SetNoMoreNotifications(true); - else + else if (type != NotificationCustom) SetNoMoreNotifications(false); if (type == NotificationProblem && GetInterval() > 0)