emailengine-app 2.66.0 → 2.67.1

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/workers/imap.js CHANGED
@@ -658,6 +658,10 @@ class ConnectionHandler {
658
658
  await connection.ensureSubscription({ clearExisting: true });
659
659
  return true;
660
660
 
661
+ case 'missed':
662
+ logger.info({ msg: 'Handling missed notification lifecycle event', account: message.account });
663
+ return await connection.syncMissedMessages();
664
+
661
665
  default:
662
666
  logger.warn({ msg: 'Unknown subscription lifecycle event', event: message.event, account: message.account });
663
667
  return false;