WPPConnect is an open source project developed by the JavaScript community with the aim of exporting functions from WhatsApp Web to the node, which can be used to support the creation of any interaction, such as customer service, media sending, intelligence recognition based on phrases artificial and many other things, use your imagination
Only the first time a message is edited is captured by the method, if the edited message is edited again the event does not happen.
Environment
WPPConnect version(s): 1.28.4
WA-JS version(s): 2.28.1
OS: Linux Ubuntu 22.04
Node version: Node 18.17.1
WhatsApp version: 2.2353.59
MultiDevice (BETA): yes/no
Steps to Reproduce
Just start the project, scan the qr code and with another device edit a message sent to the cell phone that scanned the qr code, edit the message more than once to notice that the event is only captured the first time!
Description
Only the first time a message is edited is captured by the method, if the edited message is edited again the event does not happen.
Environment
Steps to Reproduce
Just start the project, scan the qr code and with another device edit a message sent to the cell phone that scanned the qr code, edit the message more than once to notice that the event is only captured the first time!
Your Code
client.onAck(async message => { console.log('message --> ',message); }