[core] Fix sock auth

This commit is contained in:
devlikepro committed 2024-06-24 18:43:23 +07:00
1 parent b77b8ee0da
commit cff22c74a9
1 file changed
+1 -1
+1 -1
View File
@@ -424,7 +424,7 @@ export class WhatsappSessionNoWebCore extends WhatsappSession {
}
getSessionMeInfo(): MeInfo | null {
const me = this.sock.authState?.creds?.me;
const me = this.sock?.authState?.creds?.me;
if (!me) {
return null;
}