mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-27 03:32:16 -05:00
. Fixed bug # 82: Messages lose their read status when getting new emails from POP3 server
This commit is contained in:
parent
97d10d0d25
commit
dba525739e
@ -548,11 +548,14 @@ s * critical data as fast as possible, and then we'll fill in the de
|
||||
});
|
||||
}
|
||||
|
||||
FetchProfile fp;
|
||||
|
||||
/*
|
||||
* Refresh the flags for any messages in the local store that we didn't just
|
||||
* download.
|
||||
*/
|
||||
FetchProfile fp = new FetchProfile();
|
||||
if (remoteFolder.supportsFetchingFlags()) {
|
||||
fp = new FetchProfile();
|
||||
fp.add(FetchProfile.Item.FLAGS);
|
||||
remoteFolder.fetch(remoteMessages, fp, null);
|
||||
for (Message remoteMessage : remoteMessages) {
|
||||
@ -567,6 +570,7 @@ s * critical data as fast as possible, and then we'll fill in the de
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Get and store the unread message count.
|
||||
|
Loading…
Reference in New Issue
Block a user