mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-19 05:38:31 +00:00
Fixed selecting default encoding
This commit is contained in:
parent
ab275e06f0
commit
b9f677ff2f
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue