This commit is contained in:
Andris Reinman 2017-06-06 10:56:58 +03:00
parent b5a8eb4405
commit b56e516843
2 changed files with 3 additions and 2 deletions

View file

@ -315,7 +315,8 @@ class MessageHandler {
if (options.skipExisting) { if (options.skipExisting) {
// message already exists, just skip it // message already exists, just skip it
return callback(null, false, { return callback(null, true, {
uid: existing.uid,
id: existing._id id: existing._id
}); });
} }

View file

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