Fix message sending (slack)

This commit is contained in:
Wim 2017-11-13 19:50:18 +01:00
parent 36a800c3f5
commit 0578b21270

View File

@ -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}) 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
} }
} }