mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 19:05:23 +01:00
Fixed selecting default encoding
This commit is contained in:
@@ -2130,7 +2130,7 @@ 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);
|
||||
String charset = jargs.optString(1, null);
|
||||
String charset = (jargs.isNull(1) ? null : jargs.optString(1, null));
|
||||
|
||||
if (message.uid == null)
|
||||
throw new IllegalArgumentException("uid missing");
|
||||
|
||||
Reference in New Issue
Block a user