mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 22:15:15 -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:
parent
a0ee0b1561
commit
116e9598da
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user