Skip to content

Commit 71c4b6b

Browse files
Merge pull request #4220 from rekup/fix/rocketchat-channel-template
Fix rocketchat channel templating
2 parents 1948bdf + 69b09d9 commit 71c4b6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

notify/rocketchat/rocketchat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ func (n *Notifier) Notify(ctx context.Context, as ...*types.Alert) (bool, error)
202202
}
203203

204204
body := &PostMessage{
205-
Channel: n.conf.Channel,
205+
Channel: tmplText(n.conf.Channel),
206206
Emoji: tmplText(n.conf.Emoji),
207207
Avatar: tmplText(n.conf.IconURL),
208208
Attachments: []Attachment{*att},

0 commit comments

Comments
 (0)