summaryrefslogtreecommitdiffstats
path: root/bridge/slack/slack.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-02-22 19:36:50 +0100
committerWim <wim@42.be>2019-02-22 19:36:50 +0100
commit1f1634ea593872a09e355b371befd27fc25c5b0a (patch)
treee08cb728e2592890e323b6c3c80ba8c213c27a07 /bridge/slack/slack.go
parenta7dd033c3b11fd4e0f186cfb00c1a68ea4eab217 (diff)
downloadmatterbridge-msglm-1f1634ea593872a09e355b371befd27fc25c5b0a.tar.gz
matterbridge-msglm-1f1634ea593872a09e355b371befd27fc25c5b0a.tar.bz2
matterbridge-msglm-1f1634ea593872a09e355b371befd27fc25c5b0a.zip
Add extra debug option (slack)
Diffstat (limited to 'bridge/slack/slack.go')
-rw-r--r--bridge/slack/slack.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/slack/slack.go b/bridge/slack/slack.go
index 1685c4fc..6ab70a1d 100644
--- a/bridge/slack/slack.go
+++ b/bridge/slack/slack.go
@@ -121,7 +121,7 @@ func (b *Bslack) Connect() error {
// If we have a token we use the Slack websocket-based RTM for both sending and receiving.
if token := b.GetString(tokenConfig); token != "" {
b.Log.Info("Connecting using token")
- b.sc = slack.New(token)
+ b.sc = slack.New(token, slack.OptionDebug(b.GetBool("Debug")))
b.rtm = b.sc.NewRTM()
go b.rtm.ManageConnection()
go b.handleSlack()