1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-01-02 13:14:39 +00:00

Prevent crash

This commit is contained in:
M66B 2022-01-16 11:41:49 +01:00
parent 0d01ef35d7
commit cae6e55c2c

View file

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