Refactoring

pull/194/head
M66B 4 years ago
parent d60e1f26f2
commit f571d270bd

@ -2421,7 +2421,7 @@ public class FragmentCompose extends FragmentBase {
ContentType ct = new ContentType(type);
ct.setParameter("protected-headers", "v1");
setHeader("Content-Type", ct.toString());
String subject = draft.subject == null ? "" : draft.subject;
String subject = (draft.subject == null ? "" : draft.subject);
try {
setHeader("Subject", MimeUtility.encodeWord(subject));
} catch (UnsupportedEncodingException ex) {

Loading…
Cancel
Save