Removed text/x-log

This commit is contained in:
M66B 2024-02-21 08:40:23 +01:00
parent f49ed187f4
commit 06e49c6d44
1 changed files with 2 additions and 7 deletions

View File

@ -3580,10 +3580,6 @@ public class MessageHelper {
"text/x-patch".equalsIgnoreCase(contentType.getBaseType());
}
boolean isLog() {
return "text/x-log".equalsIgnoreCase(contentType.getBaseType());
}
boolean isReport() {
String ct = contentType.getBaseType();
return (Report.isDeliveryStatus(ct) ||
@ -4007,7 +4003,7 @@ public class MessageHelper {
Log.e(ex);
result = HtmlHelper.formatPlainText(result);
}
} else if (h.isPatch() || h.isLog()) {
} else if (h.isPatch()) {
result = (first ? "" : "<br><hr>") +
"<pre style=\"font-family: monospace; font-size:small;\">" +
HtmlHelper.formatPlainText(result) +
@ -5139,8 +5135,7 @@ public class MessageHelper {
if ("text/markdown".equalsIgnoreCase(ct) ||
"text/x-diff".equalsIgnoreCase(ct) ||
"text/x-patch".equalsIgnoreCase(ct) ||
"text/x-log".equalsIgnoreCase(ct))
"text/x-patch".equalsIgnoreCase(ct))
parts.extra.add(new PartHolder(part, contentType));
if (Report.isDeliveryStatus(ct) ||