Skip to content
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

[BUG][NOWEB] - noweb obtains incomplete chat history #660

Closed
HuangDaHui opened this issue Nov 25, 2024 · 2 comments
Closed

[BUG][NOWEB] - noweb obtains incomplete chat history #660

HuangDaHui opened this issue Nov 25, 2024 · 2 comments
Labels
bug Something isn't working engine:NOWEB

Comments

@HuangDaHui
Copy link

I have 2 numbers in the same group. When I use number A to send a message, B cannot receive the webhook, and when I get the chat record through the interface, the record does not exist.
A is WEBJS
B is NOWEB /api/messages?chatId=xxx&downloadMedia=false&limit=10&session=xxx

image

[ { "id": "[email protected]_3A781864FBAED3A70DA9", "timestamp": 1732498327, "from": "[email protected]", "fromMe": false, "body": "Okay", "to": "[email protected]", "participant": "xxx", "hasMedia": false, "ack": null, "ackName": "UNKNOWN", "replyTo": null, "_data": { "key": { "remoteJid": "[email protected]", "fromMe": false, "id": "3A781864FBAED3A70DA9", "participant": "[email protected]" }, "messageTimestamp": 1732498327, "pushName": "Kingki", "broadcast": false, "message": { "conversation": "Okay", "senderKeyDistributionMessage": { "groupId": "[email protected]", "axolotlSenderKeyDistributionMessage": { "type": "Buffer", "data": "Mwi16+wKEAMaIHZ5q6zj7Ntw3FajQU/E8WqOK49/3bjaPFaEUX9PeHTgIiEF1CbEsZwVrremihUMeYLW7s1CMoSQ/TvLwIdJNyJ4nVo=" } }, "messageContextInfo": { "deviceListMetadata": { "senderKeyHash": { "type": "Buffer", "data": "66B+Ofx197grlg==" }, "senderTimestamp": 1731908727, "recipientKeyHash": { "type": "Buffer", "data": "u8kUD1rbSedN0w==" }, "recipientTimestamp": 1732080007 }, "deviceListMetadataVersion": 2 } } } }, { "id": "[email protected]_3ABF47CDE4784D942EFD", "timestamp": 1732497498, "from": "[email protected]", "fromMe": false, "body": "可以 ,4點見😊", "to": "[email protected]", "participant": "xxx", "hasMedia": false, "ack": null, "ackName": "UNKNOWN", "replyTo": null, "_data": { "key": { "remoteJid": "[email protected]", "fromMe": false, "id": "3ABF47CDE4784D942EFD", "participant": "[email protected]" }, "messageTimestamp": 1732497498, "pushName": "Kingki", "broadcast": false, "message": { "conversation": "可以 ,4點見😊", "senderKeyDistributionMessage": { "groupId": "[email protected]", "axolotlSenderKeyDistributionMessage": { "type": "Buffer", "data": "Mwi16+wKEAIaICxrpRuFK2M7fQoSzW6zPlRCrHJVSH5RDxCI5f7woH+uIiEF1CbEsZwVrremihUMeYLW7s1CMoSQ/TvLwIdJNyJ4nVo=" } }, "messageContextInfo": { "deviceListMetadata": { "senderKeyHash": { "type": "Buffer", "data": "66B+Ofx197grlg==" }, "senderTimestamp": 1731908727, "recipientKeyHash": { "type": "Buffer", "data": "u8kUD1rbSedN0w==" }, "recipientTimestamp": 1732080007 }, "deviceListMetadataVersion": 2 } } } }, { "id": "[email protected]_3A7A24510D99B88AE29D", "timestamp": 1732496357, "from": "[email protected]", "fromMe": false, "body": "早晨26/11 3-4可以?😊", "to": "[email protected]", "participant": "xxx", "hasMedia": false, "ack": null, "ackName": "UNKNOWN", "replyTo": { "id": "3EB0CB4639FE1F5C6E6410", "participant": "xxx", "body": "約 26/11 星期二 12pm 做training OK嗎?" }, "_data": { "key": { "remoteJid": "[email protected]", "fromMe": false, "id": "3A7A24510D99B88AE29D", "participant": "[email protected]" }, "messageTimestamp": 1732496357, "pushName": "Kingki", "broadcast": false, "message": { "senderKeyDistributionMessage": { "groupId": "[email protected]", "axolotlSenderKeyDistributionMessage": { "type": "Buffer", "data": "Mwi16+wKEAEaIMqaNLOyWVyasPcCcUFIxYp1e8M8xmUPhLuBdc60FJhEIiEF1CbEsZwVrremihUMeYLW7s1CMoSQ/TvLwIdJNyJ4nVo=" } }, "extendedTextMessage": { "text": "早晨26/11 3-4可以?😊", "contextInfo": { "stanzaId": "3EB0CB4639FE1F5C6E6410", "participant": "[email protected]", "quotedMessage": { "conversation": "約 26/11 星期二 12pm 做training OK嗎?" } } }, "messageContextInfo": { "deviceListMetadata": { "senderKeyHash": { "type": "Buffer", "data": "66B+Ofx197grlg==" }, "senderTimestamp": 1731908727, "recipientKeyHash": { "type": "Buffer", "data": "u8kUD1rbSedN0w==" }, "recipientTimestamp": 1732080007 }, "deviceListMetadataVersion": 2 } } } }, { "id": "[email protected]_3EB091E799A56C1FF904CD", "timestamp": 1732262753, "from": "[email protected]", "fromMe": false, "body": "好~ ", "to": "[email protected]", "participant": "xxx", "hasMedia": false, "ack": null, "ackName": "UNKNOWN", "replyTo": null, "_data": { "key": { "remoteJid": "[email protected]", "fromMe": false, "id": "3EB091E799A56C1FF904CD", "participant": "[email protected]" }, "messageTimestamp": 1732262753, "pushName": "testing", "broadcast": false, "message": { "senderKeyDistributionMessage": { "groupId": "[email protected]", "axolotlSenderKeyDistributionMessage": { "type": "Buffer", "data": "MwjeutOuAxAHGiBR2p1mu3eS38XuM3NL7HZq7bMS4V7VWR00/v1BrCZpYSIhBRLveFleUa7SaBykFnA3Y1ped75JAEo6G6NKUWQgY1lE" } }, "messageContextInfo": {}, "conversation": "好~ " }, "verifiedBizName": "testing" } }, { "id": "[email protected]_3A530BAC9741B55BBC3B", "timestamp": 1732262717, "from": "[email protected]", "fromMe": false, "body": "好的,我夾一夾時間轉頭覆你😊", "to": "[email protected]", "participant": "xxx", "hasMedia": false, "ack": null, "ackName": "UNKNOWN", "replyTo": null, "_data": { "key": { "remoteJid": "[email protected]", "fromMe": false, "id": "3A530BAC9741B55BBC3B", "participant": "[email protected]" }, "messageTimestamp": 1732262717, "pushName": "Kingki", "broadcast": false, "message": { "senderKeyDistributionMessage": { "groupId": "[email protected]", "axolotlSenderKeyDistributionMessage": { "type": "Buffer", "data": "MwiUtL0+EA0aIOzirUDJ4qTLoi8T43qcHA/4lPAYN/g4aSMWk5IknK8ZIiEFr22HD03MTxpQkJVzmaLaytuWcdKCmshizzgvGsn3IS4=" } }, "messageContextInfo": { "deviceListMetadata": { "senderKeyHash": { "type": "Buffer", "data": "66B+Ofx197grlg==" }, "senderTimestamp": 1731908727, "recipientKeyHash": { "type": "Buffer", "data": "u8kUD1rbSedN0w==" }, "recipientTimestamp": 1732080007 }, "deviceListMetadataVersion": 2 }, "conversation": "好的,我夾一夾時間轉頭覆你😊" } } } ]

@HuangDaHui HuangDaHui added the bug Something isn't working label Nov 25, 2024
@devlikepro
Copy link
Contributor

devlikepro commented Dec 1, 2024

related to #671

patron:PRO

@devlikepro
Copy link
Contributor

devlikepro commented Dec 1, 2024

Could you try to repair (logout/scan qr) the session with problem after updating to the latest update? Looks like some keys are missing

patron:PRO

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine:NOWEB
Projects
None yet
Development

No branches or pull requests

2 participants