summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2020-03-18 22:03:20 +0000
committerGitHub <noreply@github.com>2020-03-18 23:03:20 +0100
commit2fbac73c2998cb5e84e6d54eaa780221b8178b45 (patch)
tree0822d6c4f89d81a0bd10d8eee8400151a9e19238
parent6616d105d1c7fd939086aeb251c2628b12873a31 (diff)
downloadmatterbridge-msglm-2fbac73c2998cb5e84e6d54eaa780221b8178b45.tar.gz
matterbridge-msglm-2fbac73c2998cb5e84e6d54eaa780221b8178b45.tar.bz2
matterbridge-msglm-2fbac73c2998cb5e84e6d54eaa780221b8178b45.zip
Ignore ConnectingEvent (slack) (#1041)
-rw-r--r--bridge/slack/handlers.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/slack/handlers.go b/bridge/slack/handlers.go
index 10ed0ae5..12e272d7 100644
--- a/bridge/slack/handlers.go
+++ b/bridge/slack/handlers.go
@@ -87,7 +87,7 @@ func (b *Bslack) handleSlackClient(messages chan *config.Message) {
b.Log.Errorf("Connection failed %#v %#v", ev.Error(), ev.ErrorObj)
case *slack.MemberJoinedChannelEvent:
b.users.populateUser(ev.User)
- case *slack.HelloEvent, *slack.LatencyReport:
+ case *slack.HelloEvent, *slack.LatencyReport, *slack.ConnectingEvent:
continue
default:
b.Log.Debugf("Unhandled incoming event: %T", ev)