From 496d5b4ec7f5f4afae6199f928675d14d18de015 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 20 Mar 2022 02:20:54 +0100 Subject: Add whatsappmulti buildflag for whatsapp with multidevice support (whatsapp) --- gateway/bridgemap/bwhatsapp.go | 1 + gateway/bridgemap/bwhatsappmulti.go | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 gateway/bridgemap/bwhatsappmulti.go (limited to 'gateway/bridgemap') 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 +} -- cgit v1.2.3