WhiskeySockets / Baileys

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

[BUG] Not getting presence of the user after subscribing. #198

Open KH178 opened 1 year ago

KH178 commented 1 year ago

Describe the bug Presence event is only being fired when user is typing then gets two event responses lastKnownPresence: 'composing' and lastKnownPresence: 'available', previously it was working 1-2 months ago, did anything changes from WhatsApp side?

To Reproduce Steps to reproduce the behavior:

  1. Created a new connection
  2. Subscribe to the number.
  3. Not getting any presence update as log as user don't type.

Expected behavior After initiating the conversation from both side, should get presence update for subscribed users.

Environment (please complete the following information):

Additional context Tested with other library, getting the online status once both side initiated the conversation. Also showing correctly on the app.

ahnaineh commented 1 year ago

+1000....!!!

CSFelix commented 3 months ago

Same here!!