summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2018-01-02 14:39:27 +0100
committerWim <wim@42.be>2018-01-02 14:39:27 +0100
commit9a6249c4f5c41cad185f82c6ba0fcd8eab4e478a (patch)
tree708525ccbabf9d61b660bbb7575bcd11a9aa186f
parent50bd51e46196896ca11fcbabfe6494f062afa89b (diff)
downloadmatterbridge-msglm-9a6249c4f5c41cad185f82c6ba0fcd8eab4e478a.tar.gz
matterbridge-msglm-9a6249c4f5c41cad185f82c6ba0fcd8eab4e478a.tar.bz2
matterbridge-msglm-9a6249c4f5c41cad185f82c6ba0fcd8eab4e478a.zip
Increase debug logging (slack)
-rw-r--r--bridge/slack/slack.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index c008ba5b..9f3c2d2f 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -309,9 +309,11 @@ func (b *Bslack) handleSlack() {
func (b *Bslack) handleSlackClient(mchan chan *MMMessage) {
for msg := range b.rtm.IncomingEvents {
+ if msg.Type != "user_typing" && msg.Type != "latency_report" {
+ flog.Debugf("Receiving from slackclient %#v", msg.Data)
+ }
switch ev := msg.Data.(type) {
case *slack.MessageEvent:
- flog.Debugf("Receiving from slackclient %#v", ev)
if len(ev.Attachments) > 0 {
// skip messages we made ourselves
if ev.Attachments[0].CallbackID == "matterbridge" {