open-wa / wa-automate-nodejs

💬 🤖 The most reliable tool for chatbots with advanced features. Be sure to 🌟 this repository for updates!
https://docs.openwa.dev/
Other
3.15k stars 601 forks source link

client.inviteInfo return undefined #2275

Closed DwiRizqiH closed 3 years ago

DwiRizqiH commented 3 years ago

Are you using the latest version of the library?

Current Behavior

when i use client.inviteInfo return undefined

Expected Behavior

No response

Steps To Reproduce

No response

Mode

My own code

create() code

create({
    executablePath: '/usr/bin/google-chrome',
    sessionDataPath: './session.data.json',
    headless: true,
    autoRefresh: true,
    restartOnCrash: start,
    cacheEnabled: true,
    killProcessOnBrowserClose: true,
    throwErrorOnTosBlock: false,
    deleteSessionDataOnLogout: false,
    multiDevice: false,
    authTimeout: 0,
    qrTimeout: 0,
    maxMessages: 200,
    chromiumArgs: [
        '--no-sandbox',
        '--disable-setuid-sandbox'
        /*'--aggressive-cache-discard',
        '--disable-cache',
        '--disable-application-cache',
        '--disable-offline-load-stale-cache',
        '--disk-cache-size=0'*/
    ]
})
    .then(nao => start(nao))
    .catch(error => console.log(error))

DEBUG INFO

Debug info {
WA_VERSION: '2.2142.12',
PAGE_UA: 'WhatsApp/2.2108.8 Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36',
WA_AUTOMATE_VERSION: '4.23.7',
BROWSER_VERSION: 'HeadlessChrome/95.0.4638.69'
}

Environment

- OS: 'Linux 5.11'
- Node: 14.18.1
- npm: 8.1.3

Screenshots

No response

Anything else?

No response

GamiDPC commented 3 years ago

It's the same with me {"success":true}

smashah commented 3 years ago

patched

GamiDPC commented 7 months ago

after the last update it stopped processing group links again

{"success":true,"inviteInfo":{}}