Fixed default plain-text only part

pull/212/head
M66B 1 year ago
parent 2de75f7cfc
commit 3168b5be17

@ -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)

Loading…
Cancel
Save