mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 19:52:17 -05:00
Merge pull request #232 from ssieb/master
load the right number of messages from the server
This commit is contained in:
commit
b23b240550
@ -866,7 +866,7 @@ public class MessagingController implements Runnable {
|
|||||||
LocalStore localStore = account.getLocalStore();
|
LocalStore localStore = account.getLocalStore();
|
||||||
LocalFolder localFolder = localStore.getFolder(folder);
|
LocalFolder localFolder = localStore.getFolder(folder);
|
||||||
if (localFolder.getVisibleLimit() > 0) {
|
if (localFolder.getVisibleLimit() > 0) {
|
||||||
localFolder.setVisibleLimit(localFolder.getVisibleLimit() + localFolder.getMessageCount());
|
localFolder.setVisibleLimit(localFolder.getVisibleLimit() + account.getDisplayCount());
|
||||||
}
|
}
|
||||||
synchronizeMailbox(account, folder, listener, null);
|
synchronizeMailbox(account, folder, listener, null);
|
||||||
} catch (MessagingException me) {
|
} catch (MessagingException me) {
|
||||||
|
Loading…
Reference in New Issue
Block a user