mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Prevent crash
This commit is contained in:
parent
6e02eb9b07
commit
1cf32ef90e
1 changed files with 5 additions and 2 deletions
|
@ -742,6 +742,7 @@ class Core {
|
|||
HtmlHelper.getPreview(body),
|
||||
parts.getWarnings(message.warning));
|
||||
|
||||
if (!TextUtils.isEmpty(body))
|
||||
fixAttachments(context, message.id, body);
|
||||
}
|
||||
|
||||
|
@ -1708,6 +1709,8 @@ class Core {
|
|||
parts.getWarnings(message.warning));
|
||||
Log.i(folder.name + " downloaded message id=" + message.id +
|
||||
" size=" + message.size + "/" + (body == null ? null : body.length()));
|
||||
|
||||
if (!TextUtils.isEmpty(body))
|
||||
fixAttachments(context, message.id, body);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue