pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
14.96k stars 3.55k forks source link

Client group_update event not triggered when the group is Annoucements #2441

Open jirousbh opened 1 year ago

jirousbh commented 1 year ago

Is there an existing issue for this?

Describe the bug

Hi. The event group_update is not triggering when some left an Annoucement (Community) group.

Expected behavior

When a user left an Annoucement group the event "client.on("group_leave",.." should be triggered

Steps to Reproduce the Bug or Issue

Autenticate a number on api Create a Community User another number to enter and exit the Annoucement group from the Community.

Relevant Code

client.on("group_leave", async (notification) => { console.log(notification); sendNotification(notification); });

Browser Type

Google Chrome

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

Ubuntu server 22.04 LTS

Additional context

...

alechkos commented 10 months ago

@jirousbh solved here

ram-thePack commented 5 months ago

@jirousbh solved here

group_leave event is till not triggered when a user leaves a community. Is it working for anyone else?