mirror of https://github.com/M66B/FairEmail.git
Keep signatures in forwarded messages
This commit is contained in:
parent
209e3fa00d
commit
97d8728986
|
@ -3784,6 +3784,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
for (Element e : d.select("[x-plain=true]"))
|
||||
e.removeAttr("x-plain");
|
||||
|
||||
if ("reply".equals(action) || "reply_all".equals(action)) {
|
||||
// Remove signature separators
|
||||
boolean remove_signatures = prefs.getBoolean("remove_signatures", false);
|
||||
if (remove_signatures)
|
||||
|
@ -3824,8 +3825,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
|
||||
// Limit number of nested block quotes
|
||||
boolean quote_limit = prefs.getBoolean("quote_limit", false);
|
||||
if (quote_limit &&
|
||||
("reply".equals(action) || "reply_all".equals(action)))
|
||||
if (quote_limit)
|
||||
for (Element bq : d.select("blockquote")) {
|
||||
int level = 1;
|
||||
Element parent = bq.parent();
|
||||
|
@ -3837,6 +3837,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
if (level >= MAX_QUOTE_LEVEL)
|
||||
bq.html("…");
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// Selected text
|
||||
d = Document.createShell("");
|
||||
|
|
Loading…
Reference in New Issue