updated pop3 handling

This commit is contained in:
Andris Reinman 2019-03-18 10:59:43 +02:00
parent 90a4603bd5
commit b030eb59f0

View file

@ -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