diff options
Diffstat (limited to 'bridge/slack/handlers.go')
-rw-r--r-- | bridge/slack/handlers.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/slack/handlers.go b/bridge/slack/handlers.go index e3a10bcd..61f572fa 100644 --- a/bridge/slack/handlers.go +++ b/bridge/slack/handlers.go @@ -229,6 +229,7 @@ func (b *Bslack) handleAttachments(ev *slack.MessageEvent, rmsg *config.Message) // If we have files attached, download them (in memory) and put a pointer to it in msg.Extra. for _, f := range ev.Files { + f := f err := b.handleDownloadFile(rmsg, &f) if err != nil { b.Log.Errorf("Could not download incoming file: %#v", err) |