From b030eb59f067c0eee1508ce93b33960355536566 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Mon, 18 Mar 2019 10:59:43 +0200 Subject: [PATCH] updated pop3 handling --- pop3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pop3.js b/pop3.js index b3d4031b..b402b826 100644 --- a/pop3.js +++ b/pop3.js @@ -136,7 +136,7 @@ const serverOptions = { let updateUIDIndex = done => { // first is the newest, last the oldest let oldestMessageData = messages && messages.length && messages[messages.length - 1]; - if (oldestMessageData || !oldestMessageData.uid) { + if (!oldestMessageData || !oldestMessageData.uid) { return done(); } // try to update index, ignore result