mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
rather than fetching 10 messages on push reconnect, fetch a full
compelment of displayable messages. This should help eliminate "Gaps" when reconnecting push connections after going offline.
This commit is contained in:
parent
ac36016b86
commit
55d70c3bf7
@ -2635,9 +2635,9 @@ public class ImapStore extends Store
|
||||
handleUntaggedResponses(responses);
|
||||
}
|
||||
int startUid = oldUidNext;
|
||||
if (startUid < uidNext - 10)
|
||||
if (startUid < uidNext - mAccount.getDisplayCount())
|
||||
{
|
||||
startUid = uidNext - 10;
|
||||
startUid = uidNext - mAccount.getDisplayCount();
|
||||
}
|
||||
if (startUid < 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user