Ignore ConnectingEvent (slack) (#1041)
This commit is contained in:
parent
6616d105d1
commit
2fbac73c29
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue