Skip to content
Snippets Groups Projects
Commit 4044c939 authored by deuce's avatar deuce
Browse files

Allow the same attachment to be both inline and an attachment.

parent 82be370f
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,6 @@ function mime_decode(hdr, body) ...@@ -76,7 +76,6 @@ function mime_decode(hdr, body)
if(Message.attachments==undefined) if(Message.attachments==undefined)
Message.attachments=new Array; Message.attachments=new Array;
Message.attachments.push(disp[1]); Message.attachments.push(disp[1]);
continue;
} }
disp=pieces[0].match(/content-id:\s+\<?([^\<\>;\r\n]*)\>?/i); disp=pieces[0].match(/content-id:\s+\<?([^\<\>;\r\n]*)\>?/i);
if(disp!=undefined) { if(disp!=undefined) {
...@@ -84,7 +83,6 @@ function mime_decode(hdr, body) ...@@ -84,7 +83,6 @@ function mime_decode(hdr, body)
if(Message.inlines==undefined) if(Message.inlines==undefined)
Message.inlines=new Array; Message.inlines=new Array;
Message.inlines.push(disp[1]); Message.inlines.push(disp[1]);
continue;
} }
} }
/* Search for HTML encoded bit */ /* Search for HTML encoded bit */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment