summaryrefslogtreecommitdiffstats
path: root/bridge/slack
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-01-02 23:55:00 +0100
committerWim <wim@42.be>2019-01-02 23:55:00 +0100
commitc585d00f162cc244b381fcaaef7ac5b1efda2cf5 (patch)
tree0b8bc4106b5ba5d011b00d9f783910c56c754965 /bridge/slack
parent015c0763153778779857597178a0aabd7ac1215a (diff)
downloadmatterbridge-msglm-c585d00f162cc244b381fcaaef7ac5b1efda2cf5.tar.gz
matterbridge-msglm-c585d00f162cc244b381fcaaef7ac5b1efda2cf5.tar.bz2
matterbridge-msglm-c585d00f162cc244b381fcaaef7ac5b1efda2cf5.zip
Ignore LatencyReport event (slack)
Diffstat (limited to 'bridge/slack')
-rw-r--r--bridge/slack/handlers.go2
1 files changed, 2 insertions, 0 deletions
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)
}