4
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2025-06-26 07:29:24 +00:00

Update Rhymen/go-whatsapp vendor and whatsapp version (#1078)

This commit is contained in:
Wim
2020-04-09 22:30:08 +02:00
committed by GitHub
parent 11fc4c286f
commit 8950575bfb
11 changed files with 1160 additions and 544 deletions

View File

@ -67,7 +67,7 @@ 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, 1307)
conn.SetClientVersion(0, 4, 2080)
if err != nil {
return errors.New("failed to connect to WhatsApp: " + err.Error())
}