[core] Set to OFFLINE always

This commit is contained in:
devlikepro committed 2025-11-14 10:23:30 +07:00
1 parent 52e018aa93
commit 94ae624662
1 file changed
+1
+1
View File
@@ -631,6 +631,7 @@ export abstract class WhatsappSession {
'Auto-set presence to OFFLINE after time without activity',
);
} catch (error) {
this.presence = WAHAPresenceStatus.OFFLINE;
this.logger.debug('Failed to set presence OFFLINE', error);
}
this.cleanupPresenceTimeout();