mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-12-27 18:58:54 +08:00
updated pop3 handling
This commit is contained in:
parent
90a4603bd5
commit
b030eb59f0
1 changed files with 1 additions and 1 deletions
2
pop3.js
2
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
|
||||
|
|
Loading…
Reference in a new issue