mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-11-09 16:01:06 +08:00
v1.29.3
This commit is contained in:
parent
2557599c63
commit
2d591dd126
3 changed files with 8 additions and 1 deletions
|
|
@ -627,6 +627,12 @@ class Indexer {
|
||||||
return callback(err);
|
return callback(err);
|
||||||
}
|
}
|
||||||
mimeTree.attachmentMap[node.attachmentId] = id;
|
mimeTree.attachmentMap[node.attachmentId] = id;
|
||||||
|
|
||||||
|
let attachmentInfo = mimeTree.attachments.find(a => a.id === node.attachmentId);
|
||||||
|
if (attachmentInfo && node.body) {
|
||||||
|
attachmentInfo.size = node.body.length;
|
||||||
|
}
|
||||||
|
|
||||||
return storeNode();
|
return storeNode();
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -671,6 +671,7 @@ class FilterHandler {
|
||||||
userData,
|
userData,
|
||||||
response: err,
|
response: err,
|
||||||
filterResults,
|
filterResults,
|
||||||
|
attachments: (maildata && maildata.attachments) || [],
|
||||||
error: err
|
error: err
|
||||||
},
|
},
|
||||||
prepared:
|
prepared:
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "wildduck",
|
"name": "wildduck",
|
||||||
"version": "1.29.2",
|
"version": "1.29.3",
|
||||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue