Update Client.js (#2813)

Co-authored-by: alechkos <93551621+alechkos@users.noreply.github.com>
This commit is contained in:
Bauguelson 2024-04-28 14:10:54 +02:00 • committed by GitHub
commit aa26876a4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -396,7 +396,7 @@ class Client extends EventEmitter {
* @param {GroupNotification} notification GroupNotification with more information about the action
*/
this.emit(Events.GROUP_ADMIN_CHANGED, notification);
} else if (msg.subtype === 'created_membership_requests') {
} else if (msg.subtype === 'membership_approval_request') {
/**
* Emitted when some user requested to join the group
* that has the membership approval mode turned on