Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 3b78840cb4df7e402ead0cc3f65effd469c2c8f7 Author: Wim <wim@42.be> Date: Tue Jan 02 14:39:27 2018 +0000 Increase debug logging (slack) diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go index c008ba5..9f3c2d2 100644 --- a/bridge/slack/slack.go +++ b/bridge/slack/slack.go @@ -3099 +30911 @@ 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" {