summaryrefslogtreecommitdiffstats
path: root/gateway/bridgemap
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-03-20 02:20:54 +0100
committerWim <wim@42.be>2022-03-20 14:57:48 +0100
commit496d5b4ec7f5f4afae6199f928675d14d18de015 (patch)
tree3a649c80a76f0ffc33e6b3a63c0e65e892169cde /gateway/bridgemap
parent2623a412c42a81104b97ae8c81a5f66760fee4b6 (diff)
downloadmatterbridge-msglm-496d5b4ec7f5f4afae6199f928675d14d18de015.tar.gz
matterbridge-msglm-496d5b4ec7f5f4afae6199f928675d14d18de015.tar.bz2
matterbridge-msglm-496d5b4ec7f5f4afae6199f928675d14d18de015.zip
Add whatsappmulti buildflag for whatsapp with multidevice support (whatsapp)
Diffstat (limited to 'gateway/bridgemap')
-rw-r--r--gateway/bridgemap/bwhatsapp.go1
-rw-r--r--gateway/bridgemap/bwhatsappmulti.go11
2 files changed, 12 insertions, 0 deletions
diff --git a/gateway/bridgemap/bwhatsapp.go b/gateway/bridgemap/bwhatsapp.go
index ef6d6f73..e7b72b0f 100644
--- a/gateway/bridgemap/bwhatsapp.go
+++ b/gateway/bridgemap/bwhatsapp.go
@@ -1,4 +1,5 @@
// +build !nowhatsapp
+// +build !whatsappmulti
package bridgemap
diff --git a/gateway/bridgemap/bwhatsappmulti.go b/gateway/bridgemap/bwhatsappmulti.go
new file mode 100644
index 00000000..055c6da2
--- /dev/null
+++ b/gateway/bridgemap/bwhatsappmulti.go
@@ -0,0 +1,11 @@
+// +build whatsappmulti
+
+package bridgemap
+
+import (
+ bwhatsapp "github.com/42wim/matterbridge/bridge/whatsappmulti"
+)
+
+func init() {
+ FullMap["whatsapp"] = bwhatsapp.New
+}