devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
806 stars 247 forks source link

[BUG][WEBJS] - Sender presence keeps on typing after sending message. #379

Closed augustovmedeiros closed 1 week ago

augustovmedeiros commented 2 weeks ago

After the sender sends a message, the sender presence gets stuck on "typing", while he doesnt send the message the status will change after stop "typing" to "online" as it should Version

{
  "version": "2024.6.5",
  "engine": "NOWEB",
  "tier": "PLUS",
  "browser": "/usr/bin/google-chrome-stable"
}

To Reproduce Steps to reproduce the behavior:

  1. Open a NOWEB session
  2. Send a message to the session
  3. Subscribe for sender presence with http://ip:3000/api/session/presence/id_number@c.us/subscribe
  4. Check the status with http://ip:3000/api/session/presence/id_number@c.us
  5. See error

https://github.com/devlikeapro/waha/assets/33730078/e41aba15-5914-4722-94ad-4b0e68cb4fed

Expected behavior

It should change to "online" closely after recieving the message and the sender has stopped typing.

Engine I'm using NOWEB engine.

patron:PLUS

devlikepro commented 1 week ago

oh, my bad, I thought it was about the sender https://github.com/devlikeapro/waha/issues/365 Checking it!

patron:PRO

devlikepro commented 1 week ago

Fixed in 2024.6.6!

patron:PRO