ignore application/pgp-signature parts for display

This commit is contained in:
Vincent Breitmoser 2015-01-30 13:19:53 +01:00
parent 0374dc9cb1
commit e8c591e6be
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,8 @@ public class MessageExtractor {
Html html = new Html(part);
viewables.add(html);
}
} else if (part.getMimeType().equalsIgnoreCase("application/pgp-signature")) {
// ignore this type explicitly
} else {
// Everything else is treated as attachment.
attachments.add(part);