mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-09-20 15:26:03 +08:00
v1.9.2
This commit is contained in:
parent
f463623704
commit
56fe162d1c
|
@ -130,7 +130,8 @@ class MessageHandler {
|
|||
id,
|
||||
hdate,
|
||||
msgid,
|
||||
flags
|
||||
flags,
|
||||
size
|
||||
},
|
||||
options,
|
||||
(...args) => {
|
||||
|
@ -426,7 +427,8 @@ class MessageHandler {
|
|||
_id: true,
|
||||
uid: true,
|
||||
outbound: true,
|
||||
mailbox: true
|
||||
mailbox: true,
|
||||
size: true
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -450,6 +452,11 @@ class MessageHandler {
|
|||
return callback();
|
||||
}
|
||||
|
||||
if (Math.abs(messageData.size - messageOpts.size) > 128) {
|
||||
// too big difference in size, add as new
|
||||
return callback();
|
||||
}
|
||||
|
||||
let existingId = messageData._id;
|
||||
let existingUid = messageData.uid;
|
||||
let existingMailbox = messageData.mailbox;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.9.1",
|
||||
"version": "1.9.2",
|
||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
@ -30,7 +30,7 @@
|
|||
"grunt-shell-spawn": "0.3.10",
|
||||
"grunt-wait": "0.3.0",
|
||||
"icedfrisby": "1.5.0",
|
||||
"mailparser": "2.3.4",
|
||||
"mailparser": "2.4.0",
|
||||
"markdown-toc": "1.2.0",
|
||||
"mocha": "5.2.0",
|
||||
"request": "2.88.0"
|
||||
|
@ -50,7 +50,7 @@
|
|||
"ioredfour": "1.0.2-ioredis-02",
|
||||
"ioredis": "4.2.0",
|
||||
"isemail": "3.2.0",
|
||||
"joi": "14.0.0",
|
||||
"joi": "14.0.1",
|
||||
"js-yaml": "3.12.0",
|
||||
"key-fingerprint": "1.1.0",
|
||||
"libbase64": "1.0.3",
|
||||
|
|
Loading…
Reference in a new issue