Fix Contact getAbout method (#3833)

This commit is contained in:
BenyFilho 2025-10-07 16:12:50 -03:00 • committed by GitHub
commit 87a310a2de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,7 +186,7 @@ class Contact extends Base {
async getAbout() {
const about = await this.client.pupPage.evaluate(async (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);
if (typeof about.status !== 'string')