Added fail safe

pull/207/head
M66B 3 years ago
parent 5c6bc7e6df
commit bfdc2221a6

@ -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…
Cancel
Save