|
|
@ -239,15 +239,19 @@ func (n *Notify) GenShoutrrrNotificationParams(shoutrrrUrl string) (string, *sho
|
|
|
|
subject := n.Payload.Subject
|
|
|
|
subject := n.Payload.Subject
|
|
|
|
switch serviceName {
|
|
|
|
switch serviceName {
|
|
|
|
// no params supported for these services
|
|
|
|
// no params supported for these services
|
|
|
|
case "discord", "hangouts", "ifttt", "mattermost", "teams", "rocketchat":
|
|
|
|
case "hangouts", "mattermost", "teams", "rocketchat":
|
|
|
|
break
|
|
|
|
break
|
|
|
|
|
|
|
|
case "discord":
|
|
|
|
|
|
|
|
(*params)["title"] = subject
|
|
|
|
case "gotify":
|
|
|
|
case "gotify":
|
|
|
|
(*params)["title"] = subject
|
|
|
|
(*params)["title"] = subject
|
|
|
|
|
|
|
|
case "ifttt":
|
|
|
|
|
|
|
|
(*params)["title"] = subject
|
|
|
|
case "join":
|
|
|
|
case "join":
|
|
|
|
(*params)["title"] = subject
|
|
|
|
(*params)["title"] = subject
|
|
|
|
(*params)["icon"] = logoUrl
|
|
|
|
(*params)["icon"] = logoUrl
|
|
|
|
case "opsgenie":
|
|
|
|
case "opsgenie":
|
|
|
|
(*params)["description"] = subject
|
|
|
|
(*params)["title"] = subject
|
|
|
|
case "pushbullet":
|
|
|
|
case "pushbullet":
|
|
|
|
(*params)["title"] = subject
|
|
|
|
(*params)["title"] = subject
|
|
|
|
case "pushover":
|
|
|
|
case "pushover":
|
|
|
|