mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-12-24 18:25:40 +00:00
Fix build
This commit is contained in:
parent
7764493298
commit
9c9c4bf1f9
@ -108,7 +108,7 @@ func (b *Bmatrix) Send(msg config.Message) (string, error) {
|
||||
if strings.Contains(mtype, "image") ||
|
||||
strings.Contains(mtype, "video") {
|
||||
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 {
|
||||
flog.Errorf("file comment failed: %#v", err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user