mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 08:08:16 +02:00
Added option to disable quoting reply
This commit is contained in:
@@ -2517,9 +2517,6 @@ public class FragmentCompose extends FragmentBase {
|
||||
}
|
||||
}
|
||||
|
||||
if ("reply".equals(action) || "reply_all".equals(action))
|
||||
refText = "<blockquote>" + refText + "</blockquote>";
|
||||
|
||||
// Build reply header
|
||||
StringBuilder sb = new StringBuilder();
|
||||
DateFormat DF = Helper.getDateTimeInstance(context);
|
||||
@@ -2551,7 +2548,14 @@ public class FragmentCompose extends FragmentBase {
|
||||
sb.append("</p>\n");
|
||||
}
|
||||
|
||||
boolean quote_reply = prefs.getBoolean("quote_reply", true);
|
||||
boolean quote = (quote_reply && ("reply".equals(action) || "reply_all".equals(action)));
|
||||
if (quote)
|
||||
sb.append("<blockquote>");
|
||||
sb.append(refText);
|
||||
if (quote)
|
||||
sb.append("</blockquote>");
|
||||
|
||||
Helper.writeText(data.draft.getRefFile(context), sb.toString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user