fix(mail(js)): perform a full fetch when in unseen/flagged mode

This commit is contained in:
Francis Lachapelle
2022-04-22 15:26:22 -04:00
parent f32c3d78e5
commit c8ce3f10d6

View File

@@ -403,7 +403,9 @@
}
});
}
else if (!sortingAttributes && this.$syncToken) {
else if (!sortingAttributes && !this.$flaggedOnly && !this.$unseenOnly && this.$syncToken) {
// Fetch changes only if sorting attributes haven't changed, and view is not limited to
// unseen messages or flagged messages.
action = 'changes';
options.syncToken = this.$syncToken;
}