orkestral / venom

Venom is a high-performance system developed with JavaScript to create a bot for WhatsApp, support for creating any interaction, such as customer service, media sending, sentence recognition based on artificial intelligence and all types of design architecture for WhatsApp.
https://orkestral.io
Apache License 2.0
6.08k stars 1.19k forks source link

onAck still works? #2796

Open DesenvolvedoresLojasNossoLar opened 2 months ago

ghayman commented 2 months ago

I don't really use this but I gave it a try and got some intermittent ACKs for some messages but not for others

When do you expect the ACK to fire?

danielvieira43 commented 3 weeks ago

Hi @ghayman ! I'm using version 5.1.0 and the onAck event is not firing.

I'm sending a message to an user that is configured to mark read messages (blue ticks sent), and I think it's the only requirement to fire onAck...

Is there any extra configuration to make it work or is it a bug?

ghayman commented 3 weeks ago

@danielvieira43 I believe this is the case - can you try the latest commit on the master branch.

npm install orkestral/venom or git+https://github.com/orkestral/venom

this is the latest version

danielvieira43 commented 3 weeks ago

@ghayman It worked at first time but I don't know why it stopped. After restart venom many many times it worked again, but not always working... looks like pupeeteer did not connect to the event stream at start and don't receive calls. When onAck works, all looks fine and every time the event is dispatched. It is intermittent.

Any thoughts?

Thanks!!!