From 0578b21270d5c276fd6fc31f6d718000f68ab3cc Mon Sep 17 00:00:00 2001 From: Wim Date: Mon, 13 Nov 2017 19:50:18 +0100 Subject: [PATCH] Fix message sending (slack) --- bridge/slack/slack.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index b753c1a5..7206bfdd 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -306,10 +306,10 @@ func (b *Bslack) handleSlack() { } msg.Extra["file"] = append(msg.Extra["file"], config.FileInfo{Name: message.Raw.File.Name, Data: data, Comment: comment}) } - flog.Debugf("Message is %#v", msg) - b.Remote <- msg } } + flog.Debugf("Message is %#v", msg) + b.Remote <- msg } }