Invalidate headers on sync

pull/194/merge
M66B 3 years ago
parent f880a240d2
commit 4555c8f031

@ -3196,6 +3196,10 @@ class Core {
if (imessages == null) if (imessages == null)
imessages = new Message[0]; imessages = new Message[0];
for (Message imessage : imessages)
if (imessage instanceof IMAPMessage)
((IMAPMessage) imessage).invalidateHeaders();
stats.search_ms = (SystemClock.elapsedRealtime() - search); stats.search_ms = (SystemClock.elapsedRealtime() - search);
Log.i(folder.name + " remote count=" + imessages.length + " search=" + stats.search_ms + " ms"); Log.i(folder.name + " remote count=" + imessages.length + " search=" + stats.search_ms + " ms");

Loading…
Cancel
Save