gotify
This commit is contained in:
parent
ded5c332e2
commit
9226eb5b2e
14
gotify.go
14
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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user