Skip to content

Commit

Permalink
fix(mail(js)): perform a full fetch when in unseen/flagged mode
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Apr 22, 2022
1 parent f32c3d7 commit c8ce3f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion UI/WebServerResources/js/Mailer/Mailbox.service.js
Expand Up @@ -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;
}
Expand Down

0 comments on commit c8ce3f1

Please sign in to comment.