1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-24 02:12:15 -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:
Jesse Vincent 2010-04-26 16:20:43 +00:00
parent ac36016b86
commit 55d70c3bf7

View File

@ -2635,9 +2635,9 @@ public class ImapStore extends Store
handleUntaggedResponses(responses); handleUntaggedResponses(responses);
} }
int startUid = oldUidNext; int startUid = oldUidNext;
if (startUid < uidNext - 10) if (startUid < uidNext - mAccount.getDisplayCount())
{ {
startUid = uidNext - 10; startUid = uidNext - mAccount.getDisplayCount();
} }
if (startUid < 1) if (startUid < 1)
{ {