mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-01-01 05:06:44 +08:00
v1.4.18
This commit is contained in:
parent
3fb0b13a79
commit
a866c0ece1
2 changed files with 7 additions and 7 deletions
|
@ -157,12 +157,12 @@ module.exports = server => (mailbox, update, session, callback) => {
|
|||
}
|
||||
if (queryAll && !session.selected.uidList.includes(message.uid)) {
|
||||
// skip processing messages that we do not know about yet
|
||||
return processNext();
|
||||
return setImmediate(processNext);
|
||||
}
|
||||
|
||||
if (update.unchangedSince && message.modseq > update.unchangedSince) {
|
||||
modified.push(message.uid);
|
||||
return processNext();
|
||||
return setImmediate(processNext);
|
||||
}
|
||||
|
||||
let flagsupdate = false; // query object for updates
|
||||
|
@ -389,21 +389,21 @@ module.exports = server => (mailbox, update, session, callback) => {
|
|||
server.notifier.addEntries(mailboxData, notifyEntries, () => {
|
||||
notifyEntries = [];
|
||||
server.notifier.fire(session.user.id);
|
||||
processNext();
|
||||
return setImmediate(processNext);
|
||||
});
|
||||
}
|
||||
);
|
||||
} else {
|
||||
processNext();
|
||||
return setImmediate(processNext);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
processNext();
|
||||
return setImmediate(processNext);
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
processNext();
|
||||
return setImmediate(processNext);
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.4.17",
|
||||
"version": "1.4.18",
|
||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue