Open elhumbertoz opened 9 months ago
@elhumbertoz on your side still have the problem? because on my side, sometimes ACK is still not updated.
Unfortunately I'm having the same problem, updating the read state only happens if I restart the script. I tried with message.reload(); as a method, but it doesn't even work. Reads state in local cache and not from server
Is there an existing issue for this?
Describe the bug
When invoking the
fetchMessage
function in the whatsapp-web.js library to retrieve messages, it is observed that the ack property of the retrieved messages does not update correctly. The ack property should reflect the status of the message delivery confirmation, with numeric values according to the specification:ACK_ERROR
: -1,ACK_PENDING
: 0,ACK_SERVER
: 1,ACK_DEVICE
: 2,ACK_READ
: 3,ACK_PLAYED
: 4.Expected behavior
We expect that when invoking
fetchMessage
and then marking the messages as read using theChat.SendSeen
function, the ack property of the messages updates correctly to ACK_READ (3) to reflect that they have been read.Steps to Reproduce the Bug or Issue
Chat.SendSeen
function.fetchMessage
function.ack
property of the retrieved messages.Relevant Code
Browser Type
Chromium
WhatsApp Account Type
Standard
Does your WhatsApp account have multidevice enabled?
Yes, I am using Multi Device
Environment
Linux, Phone Android, main whatsapp-web.js versión, Wathsapp: 2.2407.2
Additional context
No response