Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[libqmfclient] Add recursion when looking for attachements MER#1574.
  • Loading branch information
dcaliste committed May 1, 2016
1 parent a7050dd commit 7134c6b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions qmf/src/libraries/qmfclient/qmailmessage.cpp
Expand Up @@ -1159,6 +1159,9 @@ namespace findAttachments
if (container.multipartType() == QMailMessagePart::MultipartMixed) {
inMultipartMixed(container, found, hasAttachments);
}
if (container.multipartType() == QMailMessagePart::MultipartAlternative) {
inMultipartMixed(container, found, hasAttachments);
}
if (container.multipartType() == QMailMessagePart::MultipartSigned) {
inMultipartSigned(container, found, hasAttachments);
}
Expand Down Expand Up @@ -1206,6 +1209,10 @@ namespace findAttachments
case QMailMessagePart::MultipartNone:
inMultipartNone(part, found, hasAttachments);
break;
case QMailMessagePart::MultipartMixed:
case QMailMessagePart::MultipartAlternative:
inMultipartMixed(part, found, hasAttachments);
break;
default:
break;
}
Expand Down

0 comments on commit 7134c6b

Please sign in to comment.