waha icon indicating copy to clipboard operation
waha copied to clipboard

[NOWEB] - Getting Different messages array for same person

Open mkamra2000 opened this issue 3 months ago • 1 comments

Describe the bug

When I'm hitting /api/<session>/chats/<number>@c.us/messages, then I'm getting this result

{
        "id": "false_<number>@c.us_3EB0CF49B41D79AE06F587",
        "timestamp": 1759575460,
        "from": "<number>@c.us",
        "fromMe": false,
        "source": "app",
        "body": "a",
        "hasMedia": false,
        "media": null,
        "ack": 2,
        "ackName": "DEVICE",
        "replyTo": null,
        "_data": {
            "key": {
                "remoteJid": "<number>@s.whatsapp.net",
                "remoteJidAlt": "<number_lid>@lid",
                "fromMe": false,
                "id": "3EB0CF49B41D79AE06F587"
            },
            "messageTimestamp": 1759575460,
            "pushName": "Mayank Kamra",
            "broadcast": false,
            "message": {

and when I'm hitting for that same person lid /api/<session>/chats/<number_lid>@lid/messages

{
        "id": "true_<number_lid>@lid_3EB04F6E38F70E080EF6FF",
        "timestamp": 1759574847,
        "from": "<number_lid>@lid",
        "fromMe": true,
        "source": "app",
        "body": "Hi, I'm Mayank",
        "hasMedia": false,
        "media": null,
        "ack": 2,
        "ackName": "DEVICE",
        "replyTo": null,
        "_data": {
            "key": {
                "remoteJid": "<number_lid>@lid",
                "fromMe": true,
                "id": "3EB04F6E38F70E080EF6FF"
            },

Version

{
    "version": "2025.9.7",
    "engine": "NOWEB",
    "tier": "PLUS",
    "browser": null
}

Expected behavior

When I use either the @c.us ID or the person’s @lid ID, I should get the same message array in both cases.

mkamra2000 avatar Oct 04 '25 11:10 mkamra2000

+1

patron:PLUS

abhyudayasrinet avatar Oct 06 '25 21:10 abhyudayasrinet