whatsapp-pi 1.0.58 → 1.0.59

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "whatsapp-pi",
3
- "version": "1.0.58",
3
+ "version": "1.0.59",
4
4
  "type": "module",
5
5
  "description": "WhatsApp integration extension for Pi",
6
6
  "main": "whatsapp-pi.ts",
@@ -462,7 +462,7 @@ export class WhatsAppService {
462
462
  const shouldReconnect = statusCode !== DisconnectReason.loggedOut;
463
463
  const isBadMac = this.isBadMacError(errorMessage);
464
464
  const isAuthRejected = this.isAuthRejected(statusCode, errorMessage);
465
- const shouldTreatAsLoggedOut = isBadMac || isAuthRejected;
465
+ const shouldTreatAsLoggedOut = isBadMac
466
466
 
467
467
  if (this.intentionalStop) {
468
468
  return;