summaryrefslogtreecommitdiffstats
path: root/bridge
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-02-01 01:01:25 +0100
committerWim <wim@42.be>2018-02-01 01:01:25 +0100
commit9c9c4bf1f9fde0340c130bbca3f14cac47f9e7c8 (patch)
tree06b0430ab1715ea07e64da3e617e9714c4fc9367 /bridge
parent7764493298760ec8d33f5387ea2fb6c4705a407e (diff)
downloadmatterbridge-msglm-9c9c4bf1f9fde0340c130bbca3f14cac47f9e7c8.tar.gz
matterbridge-msglm-9c9c4bf1f9fde0340c130bbca3f14cac47f9e7c8.tar.bz2
matterbridge-msglm-9c9c4bf1f9fde0340c130bbca3f14cac47f9e7c8.zip
Fix build
Diffstat (limited to 'bridge')
-rw-r--r--bridge/matrix/matrix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/matrix/matrix.go b/bridge/matrix/matrix.go
index 06c52148..109d56c8 100644
--- a/bridge/matrix/matrix.go
+++ b/bridge/matrix/matrix.go
@@ -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)
}