diff options
author | Wim <wim@42.be> | 2018-11-08 22:29:34 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-11-08 22:29:34 +0100 |
commit | 78401214b0b5d26fd3f0d10139061edce35e56c1 (patch) | |
tree | 21965e91716e118180e9d928ebabb08a8d90daef /bridge/rocketchat | |
parent | b2a07aba3a4343087bdbaa2bb5ef7d703bca79e1 (diff) | |
download | matterbridge-msglm-78401214b0b5d26fd3f0d10139061edce35e56c1.tar.gz matterbridge-msglm-78401214b0b5d26fd3f0d10139061edce35e56c1.tar.bz2 matterbridge-msglm-78401214b0b5d26fd3f0d10139061edce35e56c1.zip |
Make scopelint happy
Diffstat (limited to 'bridge/rocketchat')
-rw-r--r-- | bridge/rocketchat/rocketchat.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/rocketchat/rocketchat.go b/bridge/rocketchat/rocketchat.go index c3afa46e..9062c1b9 100644 --- a/bridge/rocketchat/rocketchat.go +++ b/bridge/rocketchat/rocketchat.go @@ -49,6 +49,7 @@ func (b *Brocketchat) Send(msg config.Message) (string, error) { b.Log.Debugf("=> Receiving %#v", msg) if msg.Extra != nil { for _, rmsg := range helper.HandleExtra(&msg, b.General) { + rmsg := rmsg // scopelint iconURL := config.GetIconURL(&rmsg, b.GetString("iconurl")) matterMessage := matterhook.OMessage{IconURL: iconURL, Channel: rmsg.Channel, UserName: rmsg.Username, Text: rmsg.Text} b.mh.Send(matterMessage) |