summaryrefslogtreecommitdiffstats
path: root/bridge/slack/slack.go
diff options
context:
space:
mode:
authorQais Patankar <qaisjp@gmail.com>2019-10-03 23:19:50 +0100
committerWim <wim@42.be>2019-10-04 00:19:50 +0200
commit1d708ab35196d814c932cb8570cfd01fa541f3fa (patch)
treebea86f898dea35cd945e52caaf0b65aeb5e9cc3b /bridge/slack/slack.go
parentba6759010bc3c1c6b2793b3fdf92f8dadf481117 (diff)
downloadmatterbridge-msglm-1d708ab35196d814c932cb8570cfd01fa541f3fa.tar.gz
matterbridge-msglm-1d708ab35196d814c932cb8570cfd01fa541f3fa.tar.bz2
matterbridge-msglm-1d708ab35196d814c932cb8570cfd01fa541f3fa.zip
Suppress unhandled HelloEvent message (slack) (#913)
Diffstat (limited to 'bridge/slack/slack.go')
-rw-r--r--bridge/slack/slack.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index 2aaa2cb1..94f13025 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -12,7 +12,7 @@ import (
"github.com/42wim/matterbridge/bridge/config"
"github.com/42wim/matterbridge/bridge/helper"
"github.com/42wim/matterbridge/matterhook"
- "github.com/hashicorp/golang-lru"
+ lru "github.com/hashicorp/golang-lru"
"github.com/nlopes/slack"
"github.com/rs/xid"
)
@@ -36,6 +36,7 @@ type Bslack struct {
}
const (
+ sHello = "hello"
sChannelJoin = "channel_join"
sChannelLeave = "channel_leave"
sChannelJoined = "channel_joined"