mirror of
https://github.com/napnap75/multiarch-docker-images.git
synced 2025-12-16 03:34:18 +01:00
Trying to solve the "unable to connect" error
This commit is contained in:
@@ -183,6 +183,7 @@ func runLoop(param parameters) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return fmt.Errorf("Error creating connection to WhatsApp: %v", err)
|
return fmt.Errorf("Error creating connection to WhatsApp: %v", err)
|
||||||
}
|
}
|
||||||
|
wac.SetClientVersion(2, 2123, 7)
|
||||||
err = login(wac, param.whatsappSessionFile)
|
err = login(wac, param.whatsappSessionFile)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
time.Sleep(30 * time.Second)
|
time.Sleep(30 * time.Second)
|
||||||
|
|||||||
Reference in New Issue
Block a user