mirror of https://github.com/M66B/FairEmail.git
Added check
This commit is contained in:
parent
71cb5d05fb
commit
04eca44f11
|
@ -1169,6 +1169,8 @@ class Core {
|
||||||
|
|
||||||
DB db = DB.getInstance(context);
|
DB db = DB.getInstance(context);
|
||||||
EntityAccount account = db.account().getAccount(folder.account);
|
EntityAccount account = db.account().getAccount(folder.account);
|
||||||
|
if (account == null)
|
||||||
|
throw new IllegalArgumentException("account missing");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (removed) {
|
if (removed) {
|
||||||
|
|
Loading…
Reference in New Issue