mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-24 02:12:15 -05:00
Fix cache cleanup
This commit is contained in:
parent
538b81b6ec
commit
a364d6262d
@ -2803,10 +2803,10 @@ public class MessagingController implements Runnable {
|
||||
try {
|
||||
if (threadedList) {
|
||||
localStore.setFlagForThreads(ids, flag, newState);
|
||||
removeFlagFromCache(account, ids, flag);
|
||||
removeFlagForThreadsFromCache(account, ids, flag);
|
||||
} else {
|
||||
localStore.setFlag(ids, flag, newState);
|
||||
removeFlagForThreadsFromCache(account, ids, flag);
|
||||
removeFlagFromCache(account, ids, flag);
|
||||
}
|
||||
} catch (MessagingException e) {
|
||||
Log.e(K9.LOG_TAG, "Couldn't set flags in local database", e);
|
||||
|
Loading…
Reference in New Issue
Block a user