Fix Contact getAbout method (#3833)
This commit is contained in:
parent
9b3d987711
commit
87a310a2de
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ class Contact extends Base {
|
||||||
async getAbout() {
|
async getAbout() {
|
||||||
const about = await this.client.pupPage.evaluate(async (contactId) => {
|
const about = await this.client.pupPage.evaluate(async (contactId) => {
|
||||||
const wid = window.Store.WidFactory.createWid(contactId);
|
const wid = window.Store.WidFactory.createWid(contactId);
|
||||||
return window.Store.StatusUtils.getStatus(wid);
|
return window.Store.StatusUtils.getStatus({'token':'', 'wid': wid});
|
||||||
}, this.id._serialized);
|
}, this.id._serialized);
|
||||||
|
|
||||||
if (typeof about.status !== 'string')
|
if (typeof about.status !== 'string')
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue