From 2fbac73c2998cb5e84e6d54eaa780221b8178b45 Mon Sep 17 00:00:00 2001 From: Qais Patankar Date: Wed, 18 Mar 2020 22:03:20 +0000 Subject: Ignore ConnectingEvent (slack) (#1041) --- bridge/slack/handlers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge') 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) -- cgit v1.2.3