1
0
forked from lug/matterbridge

Fix regression in autojoining with legacy tokens (slack). Fixes #651 (#848)

This commit is contained in:
Wim
2019-06-14 00:42:55 +02:00
committed by GitHub
parent 53dfb78215
commit 5619a75b05
2 changed files with 18 additions and 2 deletions

View File

@@ -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 {