diff options
Diffstat (limited to 'bridge/whatsapp/whatsapp.go')
-rw-r--r-- | bridge/whatsapp/whatsapp.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bridge/whatsapp/whatsapp.go b/bridge/whatsapp/whatsapp.go index 1a633024..8dfcb9cc 100644 --- a/bridge/whatsapp/whatsapp.go +++ b/bridge/whatsapp/whatsapp.go @@ -67,6 +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) if err != nil { return errors.New("failed to connect to WhatsApp: " + err.Error()) } |