1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Small improvement

This commit is contained in:
M66B 2021-04-07 20:57:27 +02:00
parent 27a5b375ff
commit c225e26c1d

View file

@ -2488,11 +2488,11 @@ class Core {
boolean modified = true;
try {
if (use_modseq &&
!force && initialize == 0 &&
MessageHelper.hasCapability(ifolder, "CONDSTORE")) {
long modseq = ifolder.getHighestModSeq();
Log.i(folder.name + " modseq=" + modseq + "/" + folder.modseq);
modified = (folder.modseq == null || !folder.modseq.equals(modseq));
modified = (force || initialize != 0 ||
folder.modseq == null || !folder.modseq.equals(modseq));
folder.modseq = modseq;
db.folder().setFolderModSeq(folder.id, folder.modseq);
}