Fix deleteAddressbookContact (#5672)
This commit is contained in:
parent
84c45c9558
commit
303caf9ba2
1 changed files with 2 additions and 1 deletions
|
|
@ -2427,7 +2427,8 @@ class Client extends EventEmitter {
|
|||
async deleteAddressbookContact(phoneNumber)
|
||||
{
|
||||
return await this.pupPage.evaluate(async (phoneNumber) => {
|
||||
return await window.Store.AddressbookContactUtils.deleteContactAction(phoneNumber);
|
||||
const wid = window.Store.WidFactory.createWid(phoneNumber);
|
||||
return await window.Store.AddressbookContactUtils.deleteContactAction({phoneNumber: wid});
|
||||
}, phoneNumber);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue