fix Event Ready Again and SendMessage (#3747)

* fix Event Ready Again

* Fixing SendMessage

* Fixing RejectCall
This commit is contained in:
BenyFilho 2025-09-01 21:56:56 -03:00 • committed by GitHub
commit 4ac22c8c37
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -234,7 +234,7 @@ class Client extends EventEmitter {
* @type {ClientInfo}
*/
this.info = new ClientInfo(this, await this.pupPage.evaluate(() => {
return { ...window.Store.Conn.serialize(), wid: window.Store.User.getMaybeMeUser() };
return { ...window.Store.Conn.serialize(), wid: window.Store.User.getMaybeMePnUser() || window.Store.User.getMaybeMeLidUser() };
}));
this.interface = new InterfaceController(this);