mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-24 00:36:28 +00:00
Added fail safe
This commit is contained in:
parent
5c6bc7e6df
commit
bfdc2221a6
1 changed files with 1 additions and 1 deletions
|
@ -488,7 +488,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
||||||
}
|
}
|
||||||
|
|
||||||
EntityAccount account = db.account().getAccount(browsable.account);
|
EntityAccount account = db.account().getAccount(browsable.account);
|
||||||
if (account == null)
|
if (account == null || account.protocol != EntityAccount.TYPE_IMAP)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
if (state.imessages == null)
|
if (state.imessages == null)
|
||||||
|
|
Loading…
Reference in a new issue