mirror of https://github.com/M66B/FairEmail.git
Oops
This commit is contained in:
parent
4b0a72d222
commit
eef485e63e
|
@ -2273,7 +2273,9 @@ class Core {
|
|||
// Get messages
|
||||
Message[] imessages = ifolder.getMessages();
|
||||
List<TupleUidl> ids = db.message().getUidls(folder.id);
|
||||
int max = (account.max_messages == null ? imessages.length : account.max_messages);
|
||||
int max = (account.max_messages == null
|
||||
? imessages.length
|
||||
: Math.min(imessages.length, account.max_messages));
|
||||
|
||||
EntityLog.log(context, folder.name + " POP" +
|
||||
" device=" + ids.size() +
|
||||
|
|
Loading…
Reference in New Issue