mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-02 13:14:39 +00:00
Prevent crash
This commit is contained in:
parent
0d01ef35d7
commit
cae6e55c2c
1 changed files with 3 additions and 0 deletions
|
@ -4439,6 +4439,9 @@ class Core {
|
|||
if (state.getNetworkState().isRoaming())
|
||||
return false;
|
||||
|
||||
if (imessage == null)
|
||||
return false;
|
||||
|
||||
DB db = DB.getInstance(context);
|
||||
EntityMessage message = db.message().getMessage(id);
|
||||
if (message == null || message.ui_hide)
|
||||
|
|
Loading…
Reference in a new issue