1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Create an HTML version of text/plain-only drafts in the database

Without this, text/plain-only messages with K-9 Mail's "identity header"
are displayed as "No text" (when moved out of the Drafts folder).
This commit is contained in:
cketti 2012-06-01 16:05:37 +02:00
parent a0ee0b1561
commit 116e9598da

View File

@ -3324,6 +3324,7 @@ public class MimeUtility {
String bodyText = getTextFromPart(part);
if (bodyText != null) {
text = fixDraftTextBody(bodyText);
html = HtmlConverter.textToHtml(text, false);
}
} else if (part.isMimeType("multipart/alternative") &&
firstBody instanceof MimeMultipart) {