WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
3.25k stars 1.13k forks source link

[BUG] when the poll is sent from the device it is visible but not when it is sent by baileys #675

Open daniel672-boo opened 4 months ago

daniel672-boo commented 4 months ago

on mobile {"key":{"remoteJid":"xx0740@s.whatsapp.net","fromMe":true,"id":"D1CDDB0E1E9FE935F8B24970DAE46063"},"messageTimestamp":1710184512,"pushName":"xxx","broadcast":false,"status":2,"message":{"messageContextInfo":{"messageSecret":"oOM9LL5IcP8ngkoXaCMldOJStidIPE6jEsuTASyCm34="},"pollCreationMessageV3":{"name":"G","options":[{"optionName":"B"},{"optionName":"V"}],"selectableOptionsCount":1,"contextInfo":{"entryPointConversionSource":"non_contact","entryPointConversionApp":"whatsapp","entryPointConversionDelaySeconds":1880}}}}

on baileys {"key":{"remoteJid":"x620740@s.whatsapp.net","fromMe":true,"id":"SEX581B2840F3D516C9B090BFD284663"},"message":{"messageContextInfo":{"messageSecret":"hO0MGBvVq3IYK2oSWYQoozKSLIM9QsXvA/XPdKXV/cY="},"pollCreationMessage":{"name":"Q","options":[{"optionName":"E"},{"optionName":"G"},{"optionName":"R"}],"selectableOptionsCount":1}},"messageTimestamp":"1710185812","status":"PENDING"}

Does anyone have this problem or do you have a solution?

angelLain commented 4 months ago

Same problem, when sent with Baileys it cannot be seen by the sender but the sender can see it, the sender can also see it by WhatsApp Web

daniel672-boo commented 4 months ago

Mesmo problema, quando enviado com Baileys não pode ser visto pelo remetente, mas o remetente pode vê-lo, o remetente também pode vê-lo pelo WhatsApp Web

Yes, it is only visible through WhatsApp Web, on the mobile device it does not appear

daviiRezende commented 4 months ago

I am having the same issue @Auties00 @PurpShell @SheIITear do you guys know what could be? I noticed that this started to happen after I updated WhatsApp to the new version on my cell phone

Kaua890 commented 4 months ago

I'm passing through the exact same problem

SACHIBOT commented 4 months ago

I'm also experiencing the same issue. It seems to occur when I'm trying to use it in personal chats. The poll displays for the recipient in personal chats, it doesn't show up on my end. However, it works perfectly fine in group chats. Hopefully, there will be a solution soon.

SheIITear commented 4 months ago

Cant reproduce.

Kaua890 commented 4 months ago

Cant reproduce.

Just like @netuno2305 commented, this started to happen after I updated WhatsApp to the latest version on my cell phone

SheIITear commented 4 months ago

Cant reproduce.

Just like @netuno2305 commented, this started to happen after I updated WhatsApp to the latest version on my cell phone

I am using the newest version on both sender and receiver

Kaua890 commented 4 months ago

Cant reproduce.

Just like @netuno2305 commented, this started to happen after I updated WhatsApp to the latest version on my cell phone

I am using the newest version on both sender and receiver

interesting, sender phone is ios or android?, both me and @netuno2305 used android to reproduce

SheIITear commented 4 months ago

Cant reproduce.

Just like @netuno2305 commented, this started to happen after I updated WhatsApp to the latest version on my cell phone

I am using the newest version on both sender and receiver

interesting, sender phone is ios or android?, both me and @netuno2305 used android to reproduce

iOS. There was no mention on the issue being one platform only.

daviiRezende commented 4 months ago

Cant reproduce.

Just like @netuno2305 commented, this started to happen after I updated WhatsApp to the latest version on my cell phone

I am using the newest version on both sender and receiver

interesting, sender phone is ios or android?, both me and @netuno2305 used android to reproduce

iOS. There was no mention on the issue being one platform only.

I only have an Android phone available to test, so I didn't think about this possibility. I'm waiting for a friend of mine to test it on iOS and confirm that it's working normally. Can you try to reproduce it on Android?

daviiRezende commented 4 months ago

Cant reproduce.

Just like @netuno2305 commented, this started to happen after I updated WhatsApp to the latest version on my cell phone

I am using the newest version on both sender and receiver

interesting, sender phone is ios or android?, both me and @netuno2305 used android to reproduce

iOS. There was no mention on the issue being one platform only.

I only have an Android phone available to test, so I didn't think about this possibility. I'm waiting for a friend of mine to test it on iOS and confirm that it's working normally. Can you try to reproduce it on Android?

Updating, my friend tested it on iOS, and it actually works normally, the error apparently is on Android @SheIITear . The wpp version on android is 2.24.5.76 and on ios is 2.24.5.75

SheIITear commented 4 months ago

Cant reproduce.

Just like @netuno2305 commented, this started to happen after I updated WhatsApp to the latest version on my cell phone

I am using the newest version on both sender and receiver

interesting, sender phone is ios or android?, both me and @netuno2305 used android to reproduce

iOS. There was no mention on the issue being one platform only.

I only have an Android phone available to test, so I didn't think about this possibility. I'm waiting for a friend of mine to test it on iOS and confirm that it's working normally. Can you try to reproduce it on Android?

Not at the moment, my alt phone does not want to work.

CSFelix commented 4 months ago

Sup, any solution for this problem? My phone is Android and whatsapp app is up to date.

The sender can only see the poll sent with Baileys on WhatsApp Web 😔

daniel672-boo commented 4 months ago

Sup, alguma solução para este problema? Meu celular é Android e o aplicativo whatsapp está atualizado.

O remetente só pode ver a enquete enviada com Baileys no WhatsApp Web 😔

If there is still a solution, I believe that only the project administrators can find a solution

CSFelix commented 3 months ago

Sup, alguma solução para este problema? Meu celular é Android e o aplicativo whatsapp está atualizado. O remetente só pode ver a enquete enviada com Baileys no WhatsApp Web 😔

If there is still a solution, I believe that only the project administrators can find a solution

Gotcha, so let's wait

PurpShell commented 2 months ago

hmm

PurpShell commented 2 months ago

so the difference is the v3. Alright, will implement

daviiRezende commented 2 months ago

@PurpShell I tried to force my fork to use v3 but unfortunately the error remained. I may have done something incorrect, so I'm glad you're going to try it too. I'm suffering with this error without being able to solve it :cry: , you should be able to solve it with your eyes closed :smile:

PurpShell commented 2 months ago

its more than just changing the name. looks like key structure is different

Gregoriotecnico commented 1 month ago

Any solution to the problem of viewing the poll?

daveckw commented 1 month ago

I am facing the same issue. When poll is sent out by Baileys, it can be viewed by recipient but not the sender himself.

daveckw commented 1 month ago

I am facing the same issue. The poll sender cannot see his own Poll on his phone (Android). It works fine on iPhone.