This commit is contained in:
Andris Reinman 2020-11-18 18:27:39 +02:00
parent 2a704ea951
commit c024715fde
2 changed files with 3 additions and 3 deletions

View file

@ -508,8 +508,8 @@ class MessageHandler {
let updateAddressRegister = next => {
let addresses = [];
if (messageData.junk) {
// skip junk messages
if (messageData.junk || flags.includes('\\Draft')) {
// skip junk and draft messages
return next();
}

View file

@ -1,6 +1,6 @@
{
"name": "wildduck",
"version": "1.31.2",
"version": "1.31.3",
"description": "IMAP/POP3 server built with Node.js and MongoDB",
"main": "server.js",
"scripts": {