Fix rocketchat channel templating

Signed-off-by: Reto Kupferschmid <kupferschmid@puzzle.ch>
This commit is contained in:
Reto Kupferschmid 2025-01-23 12:40:23 +01:00
parent d0eaa9fcd1
commit 3f4530c97d

View File

@ -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},