mirror of
https://github.com/42wim/matterbridge
synced 2024-11-03 15:40:24 +00:00
Use vendored whatsapp version (#1258)
This commit is contained in:
parent
2d98df6122
commit
25c82ddf02
@ -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())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user