Prevent crash

pull/160/head
M66B 5 years ago
parent dd9d50ff13
commit c92878d6b9

@ -1874,11 +1874,13 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
message.account, message.thread, threading ? null : id, message.folder);
for (EntityMessage threaded : messages) {
EntityFolder target = db.folder().getFolderByType(message.account, type);
if (target != null) {
EntityAccount account = db.account().getAccount(target.account);
result.add(new MessageTarget(threaded, account, target));
}
}
}
}
db.setTransactionSuccessful();
} finally {

Loading…
Cancel
Save