diff --git a/notifiers/mattermost.go b/notifiers/mattermost.go index d7960168..5829cbe9 100644 --- a/notifiers/mattermost.go +++ b/notifiers/mattermost.go @@ -36,8 +36,8 @@ var mattermoster = &mattermost{¬ifications.Notification{ AuthorUrl: "https://github.com/adamboutcher", Delay: time.Duration(10 * time.Second), Icon: "far fa-comments", - SuccessData: null.NewNullString(`{"text": "The service {{.Service.Name}} is back online."}`), - FailureData: null.NewNullString(`{"text": "The service {{.Service.Name}} has gone offline."}`), + SuccessData: null.NewNullString(`{"icon_emoji":":white_check_mark:", "text": "The service {{.Service.Name}} is back online."}`), + FailureData: null.NewNullString(`{"icon_emoji":":x:", "text": "The service {{.Service.Name}} has gone offline."}`), DataType: "json", RequestInfo: "Mattermost allows you to customize your own messages with many complex components.", Limits: 60,