From 9a6249c4f5c41cad185f82c6ba0fcd8eab4e478a Mon Sep 17 00:00:00 2001 From: Wim Date: Tue, 2 Jan 2018 14:39:27 +0100 Subject: 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" { -- cgit v1.2.3