From f1ed2ab403c7c0ce797c51d75d27d88a5281b4c5 Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 2 Jan 2018 14:39:27 +0100 Subject: [PATCH] Increase debug logging (slack) --- bridge/slack/slack.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" {