fix: joinGroupViaInvite (#127102)
* Fix correct module * fix: joinGroupViaInvite not working
This commit is contained in:
parent
03498ea477
commit
9899f4027a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue