diff options
Diffstat (limited to 'bridge/slack/slack.go')
-rw-r--r-- | bridge/slack/slack.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index 814aeeac..fd8e3791 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -219,6 +219,7 @@ func (b *Bslack) sendWebhook(msg config.Message) (string, error) { if msg.Extra != nil { // this sends a message only if we received a config.EVENT_FILE_FAILURE_SIZE for _, rmsg := range helper.HandleExtra(&msg, b.General) { + rmsg := rmsg // scopelint iconURL := config.GetIconURL(&rmsg, b.GetString(iconURLConfig)) matterMessage := matterhook.OMessage{ IconURL: iconURL, |