Open ElkinSantiana opened 11 months ago
For anyone who thought this was an issue please look at message.pollUpdates, not IMessage.pollUpdates
For anyone who thought this was an issue please look at message.pollUpdates, not IMessage.pollUpdates
message.pollUpdates is always an empty array and i dont think it is by design since message
also doesnt have an actual message/payload (message.message
doesnt exist) eg
message WebMessageInfo { messageStubParameters: [ '171820427@s.whatsapp.net' ], labels: [], userReceipt: [], reactions: [], pollUpdates: [], key: MessageKey { remoteJid: '1203631255@g.us', fromMe: true, id: '2F0D833BE8A34A2DA746C0B' }, messageTimestamp: Long { low: 1706359133, high: 0, unsigned: true }, messageStubType: 32 }
the log is
history received {"level":20,"time":"2024-01-27T15:37:59.529Z","pid":1057033,"hostname":"kagirim","messages":130,"msg":"synced messages"} {"level":20,"time":"2024-01-27T15:37:59.530Z","pid":1057033,"hostname":"kagirim","update":{"starred":true},"msg":"got update for non-existent message"} {"level":20,"time":"2024-01-27T15:37:59.530Z","pid":1057033,"hostname":"kagirim","update":{"starred":true},"msg":"got update for non-existent message"}
Hey! Will assign this to myself so I don't forget! I will (in the following days) try to see if this possible to work out. I will testing linking on official WA Web and see how they receive the data.
+1 Bump 🙏
Describe the bug There's an issue where only pollCreationMessages are received, and not pollUpdateMessages when going through the messaging history.
To Reproduce Steps to reproduce the behavior:
Expected behavior When going through the messaging history, both pollCreationMessages and votes should be received. The connection should accurately reflect the updates related to polls, including relevant voting information.
Environment:
Is this on a server? No, it's in a local development environment.
What do your
connectOptions
look like?Do you have multiple clients on the same IP? I have 2 connections running, at the same time
Are you using a proxy? No
Additional context Using latest stable version of Baileys