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

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);