[GOWS] - @c.us and @lid in the /api/{session}/chats/{chatId}/messages
Describe the bug
The endpoint "/api/{session}/chats/{chatId}/messages" is not returning all user messages. When messages are sent via WhatsApp Web and the mobile app, the endpoint does not return all of them.
In summary, when using /api/{session}/chats/{number@lid}/messages, it returns only the messages sent and received through the WhatsApp mobile app, and when using /api/{session}/chats/{[email protected] }/messages, it returns only the messages sent and received through WhatsApp Web. It is not returning all messages from both channels in a centralized way, creating a gap between messages.
Version
Get the WAHA version by calling GET /api/version
{
"version": "GOWS (2026.1.3 PLUS)",
"engine": "GOWS",
"tier": "PLUS"
}
Steps
Steps to reproduce the issue:
Send a message from WhatsApp Web and send another message from the mobile app to the same connected number. Then perform a GET request to /api/{session}/chats/{number@lid}/messages. It will return only the message sent from the mobile app. Make a new GET request to /api/{session}/chats/{[email protected] }/messages. It will return only the message sent from WhatsApp Web.
Expected behavior:
When performing a GET request to /api/{session}/chats/{[email protected] }/messages, it should return all messages in sending order, regardless of whether they were sent via WhatsApp Web or the mobile app.
LOG FROM {[email protected]} - Only messages from web whatsapp
LOG FROM {number@lid} - Only messages from whatsapp app
Experiencing same issue in version devlikeapro/waha-plus:gows-2025.12.2
Also problem is very visible through the chat ui in waha dashboard
These are the same user, the top one is using the web and desktop client and the one in the bottom is using mobile app client
Chat endpoint
Fun fact
Just checked that if I disconnect and reconnect the user, I do see all the messages under the same chat id and no messages are returned for the lid
NOWEB +1
Same thing happening here for GOWS, WEBJS version works fine.
I’m having the same issue as @JuanchiRios on WEBJS (2026.1.3 PLUS). The contact is initially [email protected]. I send a message to this contact, but at some point when the contact replies, the sender ID changes to xxxxx@lid. This breaks the contact mapping. This issue started to appear for me only in version 2026.1.3.
@devlikepro Hello team, how’s everything going over there? Do we have any estimated timeframe for fixing this issue? I have several clients complaining about it. 😕
Same issue here with GOWS. any plan or ETA for this? 🙏
@devlikepro We have been waiting for a resolution to this issue for over three weeks, with no response.
This endpoint is essential for building any chat service, and it is not working correctly. The message mapping is broken due to the @c.us and @lid discrepancy, and there has been no resolution for more than 20 days.
At the very least, we expected some feedback from the team, but we have not even received that. Is this the kind of service you provide?
2026.3.1- NOWEB - merge@lidand@c.usmessages in/overviewand/messages2026.3.1- GOWS - merge@lidand@c.usin/messages,/overview,/chats2026.3.1- NOWEB -mergeflag to disable merging@lidand@c.usmessages and chats2026.3.1- GOWS -mergeflag to disable merging@lidand@c.usmessages and chats