Loading app/ui/src/main/java/com/fsck/k9/ui/compose/QuotedMessagePresenter.java +2 −2 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ public class QuotedMessagePresenter { // composition window. If that's the case, try and convert it to text to // match the behavior in text mode. view.setMessageContentCharacters( BodyTextExtractor.getBodyTextFromMessage(messageViewInfo.message, SimpleMessageFormat.TEXT)); BodyTextExtractor.getBodyTextFromMessage(messageViewInfo.rootPart, SimpleMessageFormat.TEXT)); forcePlainText = true; showOrHideQuotedText(quotedMode); Loading @@ -248,7 +248,7 @@ public class QuotedMessagePresenter { if (messageFormat == MessageFormat.HTML) { String bodyText; // defaults to null Part part = MimeUtility.findFirstPartByMimeType(messageViewInfo.message, "text/html"); Part part = MimeUtility.findFirstPartByMimeType(messageViewInfo.rootPart, "text/html"); if (part != null) { // Shouldn't happen if we were the one who saved it. quotedTextFormat = SimpleMessageFormat.HTML; String text = MessageExtractor.getTextFromPart(part); Loading Loading
app/ui/src/main/java/com/fsck/k9/ui/compose/QuotedMessagePresenter.java +2 −2 Original line number Diff line number Diff line Loading @@ -239,7 +239,7 @@ public class QuotedMessagePresenter { // composition window. If that's the case, try and convert it to text to // match the behavior in text mode. view.setMessageContentCharacters( BodyTextExtractor.getBodyTextFromMessage(messageViewInfo.message, SimpleMessageFormat.TEXT)); BodyTextExtractor.getBodyTextFromMessage(messageViewInfo.rootPart, SimpleMessageFormat.TEXT)); forcePlainText = true; showOrHideQuotedText(quotedMode); Loading @@ -248,7 +248,7 @@ public class QuotedMessagePresenter { if (messageFormat == MessageFormat.HTML) { String bodyText; // defaults to null Part part = MimeUtility.findFirstPartByMimeType(messageViewInfo.message, "text/html"); Part part = MimeUtility.findFirstPartByMimeType(messageViewInfo.rootPart, "text/html"); if (part != null) { // Shouldn't happen if we were the one who saved it. quotedTextFormat = SimpleMessageFormat.HTML; String text = MessageExtractor.getTextFromPart(part); Loading