From 9226eb5b2e24e4de3868d55eedbc66be8a3c4834 Mon Sep 17 00:00:00 2001 From: Greg Date: Wed, 28 May 2025 22:52:12 +0200 Subject: [PATCH] gotify --- gotify.go | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/gotify.go b/gotify.go index a4daa2f..8e6c7f7 100644 --- a/gotify.go +++ b/gotify.go @@ -38,6 +38,20 @@ func Gotify(spot FlexSpot) { gotifyMsg.Message = message sendToGotify(gotifyMsg) } + + if spot.NewMode && Cfg.Gotify.NewMode && !spot.NewBand { + title := "FlexDXCluster New Mode" + gotifyMsg.Title = title + gotifyMsg.Message = message + sendToGotify(gotifyMsg) + } + + if spot.NewBand && Cfg.Gotify.NewBand && !spot.NewMode { + title := "FlexDXCluster New Band" + gotifyMsg.Title = title + gotifyMsg.Message = message + sendToGotify(gotifyMsg) + } } }