mirror of
https://github.com/cheveguerra/whatsapp-web.js.git
synced 2026-04-18 03:29:14 +00:00
merge fix
This commit is contained in:
@@ -1043,7 +1043,7 @@ class Client extends EventEmitter {
|
||||
|
||||
return await this.pupPage.evaluate(async number => {
|
||||
const wid = window.Store.WidFactory.createWid(number);
|
||||
const result = await window.Store.QueryExist.queryWidExists(wid);
|
||||
const result = await window.Store.QueryExist(wid);
|
||||
if (!result || result.wid === undefined) return null;
|
||||
return result.wid;
|
||||
}, number);
|
||||
|
||||
Reference in New Issue
Block a user