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) + } } }