mirror of
https://github.com/nodemailer/wildduck.git
synced 2024-11-10 17:47:07 +08:00
fix attachment logging
This commit is contained in:
parent
d7392e83e9
commit
8dfa8f4880
2 changed files with 2 additions and 2 deletions
|
@ -628,7 +628,7 @@ class Indexer {
|
|||
}
|
||||
mimeTree.attachmentMap[node.attachmentId] = id;
|
||||
|
||||
let attachmentInfo = mimeTree.attachments && mimeTree.attachments.find(a => a.id === node.attachmentId);
|
||||
let attachmentInfo = maildata.attachments && maildata.attachments.find(a => a.id === node.attachmentId);
|
||||
if (attachmentInfo && node.body) {
|
||||
attachmentInfo.size = node.body.length;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "wildduck",
|
||||
"version": "1.29.5",
|
||||
"version": "1.29.6",
|
||||
"description": "IMAP/POP3 server built with Node.js and MongoDB",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue