fix: joinGroupViaInvite (#127102)

* Fix correct module

* fix: joinGroupViaInvite not working
This commit is contained in:
Lindionez 2026-03-16 10:53:57 -03:00 • committed by GitHub
commit 9899f4027a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1710,7 +1710,7 @@ class Client extends EventEmitter {
async acceptInvite(inviteCode) { async acceptInvite(inviteCode) {
const res = await this.pupPage.evaluate(async (inviteCode) => { const res = await this.pupPage.evaluate(async (inviteCode) => {
return await window return await window
.require('WAWebGroupQueryJob') .require('WAWebGroupInviteJob')
.joinGroupViaInvite(inviteCode); .joinGroupViaInvite(inviteCode);
}, inviteCode); }, inviteCode);