summaryrefslogtreecommitdiffstats
path: root/bridge/whatsapp/handlers.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2019-06-01 00:53:49 +0200
committerWim <wim@42.be>2019-06-02 09:35:20 +0100
commit40f1d35415f5e3638a1972b4aa56365070d5ccb3 (patch)
treee7ec1cd0638436c61367448736f94e7fc0793a1e /bridge/whatsapp/handlers.go
parentb79bf7d4143f7a962faa00e10c2d6705524607ee (diff)
downloadmatterbridge-msglm-40f1d35415f5e3638a1972b4aa56365070d5ccb3.tar.gz
matterbridge-msglm-40f1d35415f5e3638a1972b4aa56365070d5ccb3.tar.bz2
matterbridge-msglm-40f1d35415f5e3638a1972b4aa56365070d5ccb3.zip
Fix go mod issue by removing whatsapp-ext
Diffstat (limited to 'bridge/whatsapp/handlers.go')
-rw-r--r--bridge/whatsapp/handlers.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/bridge/whatsapp/handlers.go b/bridge/whatsapp/handlers.go
index 456f2009..d61f6b24 100644
--- a/bridge/whatsapp/handlers.go
+++ b/bridge/whatsapp/handlers.go
@@ -5,10 +5,7 @@ import (
"time"
"github.com/42wim/matterbridge/bridge/config"
-
"github.com/Rhymen/go-whatsapp"
-
- whatsappExt "maunium.net/go/mautrix-whatsapp/whatsapp-ext"
)
/*
@@ -57,7 +54,7 @@ func (b *Bwhatsapp) HandleTextMessage(message whatsapp.TextMessage) {
// mentions comes as telephone numbers and we don't want to expose it to other bridges
// replace it with something more meaninful to others
- mention := b.getSenderNotify(numberAndSuffix[0] + whatsappExt.NewUserSuffix)
+ mention := b.getSenderNotify(numberAndSuffix[0] + "@s.whatsapp.net")
if mention == "" {
mention = "someone"
}