mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 02:07:12 +00:00
Removed text/x-log
This commit is contained in:
parent
f49ed187f4
commit
06e49c6d44
1 changed files with 2 additions and 7 deletions
|
@ -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) ||
|
||||
|
|
Loading…
Reference in a new issue