mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-15 13:33:35 +02:00
Added auto list option
This commit is contained in:
@@ -538,12 +538,17 @@ public class MessageHelper {
|
||||
return;
|
||||
}
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean autolist = prefs.getBoolean("autolist", true);
|
||||
boolean format_flowed = prefs.getBoolean("format_flowed", false);
|
||||
|
||||
// Build html body
|
||||
Document document = JsoupEx.parse(message.getFile(context));
|
||||
|
||||
// When sending message
|
||||
if (identity != null) {
|
||||
HtmlHelper.convertLists(document);
|
||||
if (autolist)
|
||||
HtmlHelper.convertLists(document);
|
||||
|
||||
if (send) {
|
||||
document.select("div[fairemail=signature]").removeAttr("fairemail");
|
||||
@@ -605,9 +610,6 @@ public class MessageHelper {
|
||||
}
|
||||
}
|
||||
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean format_flowed = prefs.getBoolean("format_flowed", false);
|
||||
|
||||
// multipart/mixed
|
||||
// multipart/related
|
||||
// multipart/alternative
|
||||
|
||||
Reference in New Issue
Block a user