diff options
Diffstat (limited to 'gateway')
-rw-r--r-- | gateway/bridgemap/bwhatsapp.go | 1 | ||||
-rw-r--r-- | gateway/bridgemap/bwhatsappmulti.go | 11 |
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 +} |