[core] WEBJS - WORKING as AUTHENTICATED

fix #1690
close #1695
This commit is contained in:
devlikepro committed 2025-12-05 00:15:51 -08:00
1 parent 2fc2caed85
commit 750b2b86b5
1 file changed
+1 -1
+1 -1
View File
@@ -488,7 +488,6 @@ export class WhatsappSessionWebJSCore extends WhatsappSession {
});
this.whatsapp.on(Events.READY, () => {
this.status = WAHASessionStatus.WORKING;
this.qr.save('');
this.logger.info(`Session '${this.name}' is ready!`);
});
@@ -510,6 +509,7 @@ export class WhatsappSessionWebJSCore extends WhatsappSession {
});
this.whatsapp.on(Events.AUTHENTICATED, (args) => {
this.status = WAHASessionStatus.WORKING;
this.qr.save('');
this.logger.info({ args: args }, `Session has been authenticated!`);
});