mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-23 16:25:30 +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);
|
||||
if (account == null)
|
||||
if (account == null || account.protocol != EntityAccount.TYPE_IMAP)
|
||||
return 0;
|
||||
|
||||
if (state.imessages == null)
|
||||
|
|
Loading…
Reference in a new issue