diff options
author | Wim <wim@42.be> | 2019-06-14 00:42:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-14 00:42:55 +0200 |
commit | 5619a75b05f932bd45c8eb7b32b6db5d1dbfaf93 (patch) | |
tree | 2181d5ab1b6c527f8736dcf9aa791dcc7a06f30f /bridge/slack/legacy.go | |
parent | 53dfb78215688bcc84a2f3721a995c061544ce5e (diff) | |
download | matterbridge-msglm-5619a75b05f932bd45c8eb7b32b6db5d1dbfaf93.tar.gz matterbridge-msglm-5619a75b05f932bd45c8eb7b32b6db5d1dbfaf93.tar.bz2 matterbridge-msglm-5619a75b05f932bd45c8eb7b32b6db5d1dbfaf93.zip |
Fix regression in autojoining with legacy tokens (slack). Fixes #651 (#848)
Diffstat (limited to 'bridge/slack/legacy.go')
-rw-r--r-- | bridge/slack/legacy.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bridge/slack/legacy.go b/bridge/slack/legacy.go index 0c9f5ba4..5c2eca20 100644 --- a/bridge/slack/legacy.go +++ b/bridge/slack/legacy.go @@ -13,7 +13,9 @@ type BLegacy struct { } func NewLegacy(cfg *bridge.Config) bridge.Bridger { - return &BLegacy{Bslack: newBridge(cfg)} + b := &BLegacy{Bslack: newBridge(cfg)} + b.legacy = true + return b } func (b *BLegacy) Connect() error { |