summaryrefslogtreecommitdiffstats
path: root/bridge/whatsapp
diff options
context:
space:
mode:
authorWim <wim@42.be>2020-10-12 00:05:17 +0200
committerGitHub <noreply@github.com>2020-10-12 00:05:17 +0200
commit25c82ddf023a9f16ff2ef31093ee215b69c345be (patch)
treeec58d026243ad4436a784ae22ac2c9f3194a72fb /bridge/whatsapp
parent2d98df61221e23b3be557d7b1931ee3d510ac32d (diff)
downloadmatterbridge-msglm-25c82ddf023a9f16ff2ef31093ee215b69c345be.tar.gz
matterbridge-msglm-25c82ddf023a9f16ff2ef31093ee215b69c345be.tar.bz2
matterbridge-msglm-25c82ddf023a9f16ff2ef31093ee215b69c345be.zip
Use vendored whatsapp version (#1258)
Diffstat (limited to 'bridge/whatsapp')
-rw-r--r--bridge/whatsapp/whatsapp.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/bridge/whatsapp/whatsapp.go b/bridge/whatsapp/whatsapp.go
index 4ca89813..85df6a8d 100644
--- a/bridge/whatsapp/whatsapp.go
+++ b/bridge/whatsapp/whatsapp.go
@@ -67,7 +67,6 @@ func (b *Bwhatsapp) Connect() error {
// https://github.com/Rhymen/go-whatsapp#creating-a-connection
b.Log.Debugln("Connecting to WhatsApp..")
conn, err := whatsapp.NewConn(20 * time.Second)
- conn.SetClientVersion(0, 4, 2080)
if err != nil {
return errors.New("failed to connect to WhatsApp: " + err.Error())
}