Skip to content

fetchChats is broken on Develop #1546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
diego-lipinski-de-castro opened this issue Jun 3, 2025 · 0 comments
Open
1 task done

fetchChats is broken on Develop #1546

diego-lipinski-de-castro opened this issue Jun 3, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@diego-lipinski-de-castro
Copy link

diego-lipinski-de-castro commented Jun 3, 2025

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

Algum merge para adicionar lastMessage nesse endpoint removeu todos as outras informações do chat

What did you expect?

{
    "id": "",
    "remoteJid": "",
    "pushName": "",
    "profilePicUrl": null,
    "updatedAt": "2025-06-03T03:06:56.000Z",
    "windowStart": "2025-06-01T18:46:13.767Z",
    "windowExpires": "2025-06-02T18:46:13.767Z",
    "windowActive": false,
    "lastMessage": {
        "id": "",
        "key": {
            "id": "",
            "fromMe": true,
            "remoteJid": ""
        },
        "pushName": "",
        "participant": null,
        "messageType": "conversation",
        "message": {
            "conversation": ""
        },
        "contextInfo": null,
        "source": "ios",
        "messageTimestamp": 1748907793,
        "instanceId": "",
        "sessionId": null,
        "status": "SERVER_ACK"
    },
    "unreadCount": 0,
    "isSaved": false
}

What did you observe instead of what you expected?

{
    "id": null,
    "lastMessage": {
        "id": "",
        "key": {
            "id": "",
            "fromMe": true,
            "remoteJid": ""
        },
        "pushName": "",
        "participant": null,
        "messageType": "conversation",
        "message": {
            "conversation": ""
        },
        "contextInfo": null,
        "source": "ios",
        "messageTimestamp": 1748907793,
        "instanceId": "",
        "sessionId": null,
        "status": "SERVER_ACK"
    },
    "unreadCount": 0,
    "isSaved": false
}

Screenshots/Videos

No response

Which version of the API are you using?

2.3.0 develop

What is your environment?

Docker

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

@diego-lipinski-de-castro diego-lipinski-de-castro added the bug Something isn't working label Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant