From b56e516843f7b75e807361fffb91fe24ab765d13 Mon Sep 17 00:00:00 2001 From: Andris Reinman Date: Tue, 6 Jun 2017 10:56:58 +0300 Subject: [PATCH] v1.0.46 --- lib/message-handler.js | 3 ++- package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/message-handler.js b/lib/message-handler.js index 4ece15b5..431667b0 100644 --- a/lib/message-handler.js +++ b/lib/message-handler.js @@ -315,7 +315,8 @@ class MessageHandler { if (options.skipExisting) { // message already exists, just skip it - return callback(null, false, { + return callback(null, true, { + uid: existing.uid, id: existing._id }); } diff --git a/package.json b/package.json index 73026dbd..04919731 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wildduck", - "version": "1.0.45", + "version": "1.0.46", "description": "IMAP server built with Node.js and MongoDB", "main": "server.js", "scripts": {