mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-11 20:15:03 -05:00
load the correct number of extra messages from the server instead of possibly doubling the count
This commit is contained in:
parent
bb153d045c
commit
edc0c0dc5e
@ -866,7 +866,7 @@ public class MessagingController implements Runnable {
|
||||
LocalStore localStore = account.getLocalStore();
|
||||
LocalFolder localFolder = localStore.getFolder(folder);
|
||||
if (localFolder.getVisibleLimit() > 0) {
|
||||
localFolder.setVisibleLimit(localFolder.getVisibleLimit() + localFolder.getMessageCount());
|
||||
localFolder.setVisibleLimit(localFolder.getVisibleLimit() + account.getDisplayCount());
|
||||
}
|
||||
synchronizeMailbox(account, folder, listener, null);
|
||||
} catch (MessagingException me) {
|
||||
|
Loading…
Reference in New Issue
Block a user