Keep signatures in forwarded messages

pull/189/head
M66B 5 years ago
parent 209e3fa00d
commit 97d8728986

@ -3784,6 +3784,7 @@ public class FragmentCompose extends FragmentBase {
for (Element e : d.select("[x-plain=true]")) for (Element e : d.select("[x-plain=true]"))
e.removeAttr("x-plain"); e.removeAttr("x-plain");
if ("reply".equals(action) || "reply_all".equals(action)) {
// Remove signature separators // Remove signature separators
boolean remove_signatures = prefs.getBoolean("remove_signatures", false); boolean remove_signatures = prefs.getBoolean("remove_signatures", false);
if (remove_signatures) if (remove_signatures)
@ -3824,8 +3825,7 @@ public class FragmentCompose extends FragmentBase {
// Limit number of nested block quotes // Limit number of nested block quotes
boolean quote_limit = prefs.getBoolean("quote_limit", false); boolean quote_limit = prefs.getBoolean("quote_limit", false);
if (quote_limit && if (quote_limit)
("reply".equals(action) || "reply_all".equals(action)))
for (Element bq : d.select("blockquote")) { for (Element bq : d.select("blockquote")) {
int level = 1; int level = 1;
Element parent = bq.parent(); Element parent = bq.parent();
@ -3837,6 +3837,7 @@ public class FragmentCompose extends FragmentBase {
if (level >= MAX_QUOTE_LEVEL) if (level >= MAX_QUOTE_LEVEL)
bq.html("…"); bq.html("…");
} }
}
} else { } else {
// Selected text // Selected text
d = Document.createShell(""); d = Document.createShell("");

Loading…
Cancel
Save