summaryrefslogtreecommitdiffstats
path: root/bridge/mattermost/mattermost.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-09-08 00:16:17 +0200
committerWim <wim@42.be>2017-09-08 00:16:17 +0200
commit90397200132e3e93d6a7b7c30abad62cd13f83ce (patch)
tree73d4f7c4e18e32f9607bce08cea0a82fca8f854f /bridge/mattermost/mattermost.go
parenta3470f8aec6f38efbb80f9bf2ec0776421e687de (diff)
downloadmatterbridge-msglm-90397200132e3e93d6a7b7c30abad62cd13f83ce.tar.gz
matterbridge-msglm-90397200132e3e93d6a7b7c30abad62cd13f83ce.tar.bz2
matterbridge-msglm-90397200132e3e93d6a7b7c30abad62cd13f83ce.zip
Send images when text is empty regression. (mattermost). Closes #254
Diffstat (limited to 'bridge/mattermost/mattermost.go')
-rw-r--r--bridge/mattermost/mattermost.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go
index fc4fdb96..30e38042 100644
--- a/bridge/mattermost/mattermost.go
+++ b/bridge/mattermost/mattermost.go
@@ -195,6 +195,7 @@ func (b *Bmattermost) handleMatter() {
}
rmsg.Text = text
flog.Debugf("Sending message from %s on %s to gateway", message.Username, b.Account)
+ flog.Debugf("Message is %#v", rmsg)
b.Remote <- rmsg
}
}