This commit is contained in:
Andris Reinman 2019-06-11 11:03:35 +03:00
parent 353d8914d7
commit e7433ae464
2 changed files with 4 additions and 4 deletions

View file

@ -403,8 +403,8 @@ class Indexer {
body: node.body
});
// do not include text content, multipart elements and embedded messages in the attachment list
if (!isInlineText && !/^(multipart|message)\//i.test(contentType)) {
// do not include text content and multipart elements in the attachment list
if (!isInlineText && !/^(multipart)\//i.test(contentType)) {
// list in the attachments array
maildata.attachments.push({
id: attachmentId,

View file

@ -1,6 +1,6 @@
{
"name": "wildduck",
"version": "1.20.2",
"version": "1.20.3",
"description": "IMAP/POP3 server built with Node.js and MongoDB",
"main": "server.js",
"scripts": {
@ -45,7 +45,7 @@
"humanname": "0.2.2",
"iconv-lite": "0.4.24",
"ioredfour": "1.0.2-ioredis-02",
"ioredis": "4.9.5",
"ioredis": "4.10.0",
"isemail": "3.2.0",
"joi": "14.3.1",
"js-yaml": "3.13.1",