mirror of
https://github.com/nodemailer/wildduck.git
synced 2025-09-27 23:45:56 +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);
|
||||
}
|
||||
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();
|
||||
});
|
||||
};
|
||||
|
|
|
@ -671,6 +671,7 @@ class FilterHandler {
|
|||
userData,
|
||||
response: err,
|
||||
filterResults,
|
||||
attachments: (maildata && maildata.attachments) || [],
|
||||
error: err
|
||||
},
|
||||
prepared:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.29.2",
|
||||
"version": "1.29.3",
|
||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Add table
Reference in a new issue