summaryrefslogtreecommitdiffstats
path: root/bridge/slack/legacy.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/slack/legacy.go')
-rw-r--r--bridge/slack/legacy.go4
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 {