Skip to content

Commit

Permalink
Merge pull request #4220 from rekup/fix/rocketchat-channel-template
Browse files Browse the repository at this point in the history
Fix rocketchat channel templating
  • Loading branch information
grobinson-grafana authored Mar 6, 2025
2 parents 1948bdf + 69b09d9 commit 71c4b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notify/rocketchat/rocketchat.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
}

body := &PostMessage{
Channel: n.conf.Channel,
Channel: tmplText(n.conf.Channel),
Emoji: tmplText(n.conf.Emoji),
Avatar: tmplText(n.conf.IconURL),
Attachments: []Attachment{*att},
Expand Down

0 comments on commit 71c4b6b

Please sign in to comment.