[BUG][NOWEB] - sendSeen doesn't work correctly
Send seen and Message Ack Properties
- The properties
ackandackNamedoes not change after sending sendSeen to the message.
Even sending the /sendSeen to this message, the properties ack remains null and ackName "UNKNOWN".
This seems strange because reading from WhatsApp App, the property changes correctly.
Also, on the WhatsApp app, the message is checked with blue checkmark after sending the POST.
{
"id": "[REDACTED]",
"timestamp": 1731347646,
"from": "[REDACTED]",
"fromMe": false,
"body": "teste",
"hasMedia": false,
"ack": null,
"ackName": "UNKNOWN",
"replyTo": {
"body": null
},
}
Hi!
I've tested it with the latest 2024.11.4 version, NOWEB engine
- Connected Account1 to WAHA
- Send a message from Acccount2 to Account1
- Receive it via webhook
- Send
POST api/sendSeenwith data (below) from Account1 - See double green ticks on Account2 on the phone
There's no "double green ticks" on recipient side as I can see - this is why "fromMe": false," messages have "UNKNOWN" ack.
Only fromMe: True has it
let me know if there's some additional steps or conditions you're referening too!
the message is checked with blue checkmark after sending the POST.
Oh, I see, so the only issue in ack flag?
yeah, that's how whatsapp apps work - it doesn't track "incoming" ack, so we do not either (we could track, but it won't work for history you get from phone)
I didn't understand 🤔
Whats the difference of "acking" from Waha and reading the message from WhatsApp?
Why does only reading from WhatsApp change the "ackName" to "READ"?
@devlikepro
I just want something to differ the "acked" message when I fetch messages again. Looks like there's nothing on the message object that changes when I send the ack POST, however it changes the blue check marks on WhatsApp App, that sounds strange.
Oh, you're right it DOES change the status when you do read it for a incoming message in the app :thinking: Will check that, thank you for the details!
The main problem I see - when you'll "repair" (scan qr) the account - it doesn't have ack for messages :( We'll check what we can do here so when you logout and login again you can start processing only missed messages (if it's possible)
Hi!
Fixed in 2025.4.2, now /api/sendSeen and new 💬 Chats - Read messages mark messages as READ in store as well.