Baileys icon indicating copy to clipboard operation
Baileys copied to clipboard

[BUG] messages.update dont listen to status 2

Open vitortoigo opened this issue 1 year ago • 7 comments

Describe the bug On sending messages with baileys, most of the time it jumps directly from status 1 to status 3, without going through 2. When I send a message on my cell phone, it correctly goes through the status 2 (1,2 and 3).

vitortoigo avatar Jan 31 '24 22:01 vitortoigo

How do you know status 1, 2, or 3 when sending a message on your cellphone?

aaf-30 avatar Feb 05 '24 22:02 aaf-30

How do you know status 1, 2, or 3 when sending a message on your cellphone?

On event messages.update you receive the updated message. When sending on cellphone, we can receive the status 1,2 and 3, but sending with baileys we just receive the status 1 and after jumps directly to 3.

vitortoigo avatar Feb 06 '24 12:02 vitortoigo

How do you know status 1, 2, or 3 when sending a message on your cellphone?

On event messages.update you receive the updated message. When sending on cellphone, we can receive the status 1,2 and 3, but sending with baileys we just receive the status 1 and after jumps directly to 3.

I also don't get status 2, both messages sent via baileys and also those sent via cellphone.

Btw, what does satus 2 mean?

aaf-30 avatar Feb 06 '24 17:02 aaf-30

How do you know status 1, 2, or 3 when sending a message on your cellphone?

On event messages.update you receive the updated message. When sending on cellphone, we can receive the status 1,2 and 3, but sending with baileys we just receive the status 1 and after jumps directly to 3.

I also don't get status 2, both messages sent via baileys and also those sent via cellphone.

Btw, what does satus 2 mean?

Status 2 = Message received in whatsapp server

vitortoigo avatar Feb 06 '24 19:02 vitortoigo

Will implement

purpshell avatar May 07 '24 19:05 purpshell

Same issue

dephea avatar May 24 '24 12:05 dephea

I had this problem in typescript, I managed to solve it like this: import Baileys before starting the source and not use the Baileys default value to import the socket, like this: image

this was enough to solve the event problem

drysius avatar Jun 28 '24 00:06 drysius