1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-23 08:14:45 +00:00

Added fail safe

This commit is contained in:
M66B 2022-03-31 17:28:58 +02:00
parent 5c6bc7e6df
commit bfdc2221a6

View file

@ -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)