mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 23:26:12 +02:00
Fixed default plain-text only part
This commit is contained in:
@@ -2006,7 +2006,10 @@ class Core {
|
||||
}
|
||||
|
||||
private static void onBody(Context context, JSONArray jargs, EntityFolder folder, EntityMessage message, IMAPFolder ifolder) throws MessagingException, IOException {
|
||||
boolean plain_text = jargs.optBoolean(0);
|
||||
SharedPreferences prefs = PreferenceManager.getDefaultSharedPreferences(context);
|
||||
boolean download_plain = prefs.getBoolean("download_plain", false);
|
||||
|
||||
boolean plain_text = jargs.optBoolean(0, download_plain);
|
||||
String charset = (jargs.isNull(1) ? null : jargs.optString(1, null));
|
||||
|
||||
if (message.uid == null)
|
||||
|
||||
Reference in New Issue
Block a user