Skip to content

Commit

Permalink
Fix rocketchat channel templating
Browse files Browse the repository at this point in the history
Signed-off-by: Reto Kupferschmid <[email protected]>
  • Loading branch information
rekup committed Jan 23, 2025
1 parent d0eaa9f commit 3f4530c
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 3f4530c

Please sign in to comment.