Skip to content

Commit

Permalink
PREAPPS-6472: Fixed showing attachment of EML file on message preview
Browse files Browse the repository at this point in the history
  • Loading branch information
miteshsavani810 authored and silentsakky committed Dec 8, 2021
1 parent e98035d commit 35b64e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/normalize-mime-parts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ function reduceMimeParts(
if (parts && parts.length) {
for (let i = 0; i < parts.length; i++) {
accumulator = iterator(parts[i], i, accumulator);
reduceMimeParts(parts[i], iterator, accumulator);
if (parts[i].contentType !== 'message/rfc822')
reduceMimeParts(parts[i], iterator, accumulator);
}
}

Expand Down

0 comments on commit 35b64e1

Please sign in to comment.