summaryrefslogtreecommitdiffstats
path: root/bridge/gitter
diff options
context:
space:
mode:
authorWim <wim@42.be>2017-09-07 20:35:12 +0200
committerWim <wim@42.be>2017-09-07 20:35:12 +0200
commit01badde21ddbf4d6c04572d679af7211ed6ec7fa (patch)
treebf810bbe6c0013e32d25843022002229e1517928 /bridge/gitter
parenta37b232dd9607a1ea817b6454bdc2789c84ad76d (diff)
downloadmatterbridge-msglm-01badde21ddbf4d6c04572d679af7211ed6ec7fa.tar.gz
matterbridge-msglm-01badde21ddbf4d6c04572d679af7211ed6ec7fa.tar.bz2
matterbridge-msglm-01badde21ddbf4d6c04572d679af7211ed6ec7fa.zip
Add message debugging (gitter)
Diffstat (limited to 'bridge/gitter')
-rw-r--r--bridge/gitter/gitter.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/gitter/gitter.go b/bridge/gitter/gitter.go
index 98aba865..9a7b3bf9 100644
--- a/bridge/gitter/gitter.go
+++ b/bridge/gitter/gitter.go
@@ -88,6 +88,7 @@ func (b *Bgitter) JoinChannel(channel config.ChannelInfo) error {
rmsg.Event = config.EVENT_USER_ACTION
rmsg.Text = strings.Replace(rmsg.Text, "@"+ev.Message.From.Username+" ", "", -1)
}
+ flog.Debugf("Message is %#v", rmsg)
b.Remote <- rmsg
}
case *gitter.GitterConnectionClosed: