summaryrefslogtreecommitdiffstats
path: root/gateway/bridgemap/bwhatsapp.go
diff options
context:
space:
mode:
Diffstat (limited to 'gateway/bridgemap/bwhatsapp.go')
-rw-r--r--gateway/bridgemap/bwhatsapp.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/gateway/bridgemap/bwhatsapp.go b/gateway/bridgemap/bwhatsapp.go
new file mode 100644
index 00000000..ef6d6f73
--- /dev/null
+++ b/gateway/bridgemap/bwhatsapp.go
@@ -0,0 +1,11 @@
+// +build !nowhatsapp
+
+package bridgemap
+
+import (
+ bwhatsapp "github.com/42wim/matterbridge/bridge/whatsapp"
+)
+
+func init() {
+ FullMap["whatsapp"] = bwhatsapp.New
+}