Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 3748ec581328f33cc461305a19c740a62cc33fd0 Author: Wim <wim@42.be> Date: Sat Mar 28 00:18:03 2020 +0000 Update client version whatsapp. Fixes #1061 (#1062) See https://github.com/Rhymen/go-whatsapp/issues/305 diff --git a/bridge/whatsapp/whatsapp.go b/bridge/whatsapp/whatsapp.go index 1a63302..8dfcb9c 100644 --- a/bridge/whatsapp/whatsapp.go +++ b/bridge/whatsapp/whatsapp.go @@ -676 +677 @@ 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)   if err != nil {   return errors.New("failed to connect to WhatsApp: " + err.Error())   }