summaryrefslogtreecommitdiffstats
path: root/gateway/bridgemap/bslack.go
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/bridgemap/bslack.go')
-rw-r--r--gateway/bridgemap/bslack.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/gateway/bridgemap/bslack.go b/gateway/bridgemap/bslack.go
new file mode 100644
index 00000000..fdea80c8
--- /dev/null
+++ b/gateway/bridgemap/bslack.go
@@ -0,0 +1,13 @@
+// +build !noslack
+
+package bridgemap
+
+import (
+ bslack "github.com/42wim/matterbridge/bridge/slack"
+)
+
+func init() {
+ FullMap["slack-legacy"] = bslack.NewLegacy
+ FullMap["slack"] = bslack.New
+ UserTypingSupport["slack"] = struct{}{}
+}