[core] Set to OFFLINE always
This commit is contained in:
1 parent
52e018aa93
commit
94ae624662
1 file changed
+1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user