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
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue