mirror of
https://github.com/cwinfo/matterbridge.git
synced 2024-11-22 09:20:27 +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") ||
|
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)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user