mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
Bullet proofing to make IMAP fetches not break when folders have insane
default visible limits.
This commit is contained in:
parent
845cd2a4da
commit
87a567ea40
@ -1129,6 +1129,11 @@ public class MessagingController implements Runnable
|
|||||||
|
|
||||||
int visibleLimit = localFolder.getVisibleLimit();
|
int visibleLimit = localFolder.getVisibleLimit();
|
||||||
|
|
||||||
|
if (visibleLimit < 1)
|
||||||
|
{
|
||||||
|
visibleLimit = K9.DEFAULT_VISIBLE_LIMIT;
|
||||||
|
}
|
||||||
|
|
||||||
Message[] remoteMessageArray = new Message[0];
|
Message[] remoteMessageArray = new Message[0];
|
||||||
final ArrayList<Message> remoteMessages = new ArrayList<Message>();
|
final ArrayList<Message> remoteMessages = new ArrayList<Message>();
|
||||||
// final ArrayList<Message> unsyncedMessages = new ArrayList<Message>();
|
// final ArrayList<Message> unsyncedMessages = new ArrayList<Message>();
|
||||||
|
Loading…
Reference in New Issue
Block a user