Prevent suggesting message is signed while only part is signed

pull/217/head
M66B 11 months ago
parent 4a25e63647
commit 5667478def

@ -4998,7 +4998,7 @@ public class MessageHelper {
Multipart mp = (Multipart) content; Multipart mp = (Multipart) content;
for (int i = 0; i < mp.getCount(); i++) { for (int i = 0; i < mp.getCount(); i++) {
BodyPart bp = mp.getBodyPart(i); BodyPart bp = mp.getBodyPart(i);
if (isMimeType(bp, "multipart/signed") || isMimeType(bp, "multipart/encrypted")) { if (isMimeType(bp, "multipart/encrypted")) {
for (int j = 0; j < mp.getCount(); j++) for (int j = 0; j < mp.getCount(); j++)
if (j != i) if (j != i)
getMessageParts(part, mp.getBodyPart(j), parts, null); getMessageParts(part, mp.getBodyPart(j), parts, null);

Loading…
Cancel
Save