Prevent crash

pull/194/merge
M66B 3 years ago
parent 0d01ef35d7
commit cae6e55c2c

@ -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…
Cancel
Save