From 915c35f4dc2463fc0269de3fedf8814fd277f147 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Tue, 10 Jun 2025 18:57:37 +0200 Subject: [PATCH] inline the down prio --- server/notification-providers/ntfy.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/notification-providers/ntfy.js b/server/notification-providers/ntfy.js index ab0df4247..e44e7e868 100644 --- a/server/notification-providers/ntfy.js +++ b/server/notification-providers/ntfy.js @@ -37,8 +37,6 @@ class Ntfy extends NotificationProvider { let tags = []; let status = "unknown"; let priority = notification.ntfyPriority || 4; - // defaults to max(priority + 1, 5) - let downPriority = notification.ntfyPriorityDown || (priority === 5 ? priority : priority + 1); if ("status" in heartbeatJSON) { if (heartbeatJSON.status === DOWN) { tags = [ "red_circle" ];