diff options
author | Wim <wim@42.be> | 2018-01-02 14:39:27 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-01-09 00:03:30 +0100 |
commit | f1ed2ab403c7c0ce797c51d75d27d88a5281b4c5 (patch) | |
tree | 8cc023ce869b0eb14cf297802a7533303f558e62 /bridge | |
parent | f8329d8c77b26fa37b1137b55d57ed610850af73 (diff) | |
download | matterbridge-msglm-f1ed2ab403c7c0ce797c51d75d27d88a5281b4c5.tar.gz matterbridge-msglm-f1ed2ab403c7c0ce797c51d75d27d88a5281b4c5.tar.bz2 matterbridge-msglm-f1ed2ab403c7c0ce797c51d75d27d88a5281b4c5.zip |
Increase debug logging (slack)
Diffstat (limited to 'bridge')
-rw-r--r-- | bridge/slack/slack.go | 4 |
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" { |