5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-25 23:41:35 +00:00

Fix build

This commit is contained in:
Wim 2018-02-01 01:01:25 +01:00
parent 7764493298
commit 9c9c4bf1f9

View File

@ -108,7 +108,7 @@ func (b *Bmatrix) Send(msg config.Message) (string, error) {
if strings.Contains(mtype, "image") || if strings.Contains(mtype, "image") ||
strings.Contains(mtype, "video") { strings.Contains(mtype, "video") {
if fi.Comment != "" { if fi.Comment != "" {
resp, err := b.mc.SendText(channel, msg.Username+fi.Comment) _, err := b.mc.SendText(channel, msg.Username+fi.Comment)
if err != nil { if err != nil {
flog.Errorf("file comment failed: %#v", err) flog.Errorf("file comment failed: %#v", err)
} }