From c585d00f162cc244b381fcaaef7ac5b1efda2cf5 Mon Sep 17 00:00:00 2001 From: Wim Date: Wed, 2 Jan 2019 23:55:00 +0100 Subject: Ignore LatencyReport event (slack) --- bridge/slack/handlers.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bridge/slack/handlers.go') diff --git a/bridge/slack/handlers.go b/bridge/slack/handlers.go index be3951e5..f46eb595 100644 --- a/bridge/slack/handlers.go +++ b/bridge/slack/handlers.go @@ -91,6 +91,8 @@ func (b *Bslack) handleSlackClient(messages chan *config.Message) { b.Log.Errorf("Connection failed %#v %#v", ev.Error(), ev.ErrorObj) case *slack.MemberJoinedChannelEvent: b.populateUser(ev.User) + case *slack.LatencyReport: + continue default: b.Log.Debugf("Unhandled incoming event: %T", ev) } -- cgit v1.2.3