mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 22:51:02 +00:00
Revert "Fetch all seen and unseen on fetch all"
This reverts commit 26fb019ffe
.
This commit is contained in:
parent
1d43f6c8a6
commit
4704e9ba89
1 changed files with 3 additions and 9 deletions
|
@ -2530,13 +2530,7 @@ class Core {
|
|||
|
||||
// Reduce list of local uids
|
||||
Flags flags = ifolder.getPermanentFlags();
|
||||
SearchTerm searchTerm;
|
||||
if (sync_time == 0 && flags.contains(Flags.Flag.SEEN))
|
||||
searchTerm = new OrTerm(
|
||||
new FlagTerm(new Flags(Flags.Flag.SEEN), false),
|
||||
new FlagTerm(new Flags(Flags.Flag.SEEN), true));
|
||||
else
|
||||
searchTerm = account.use_date
|
||||
SearchTerm searchTerm = account.use_date
|
||||
? new SentDateTerm(ComparisonTerm.GE, new Date(sync_time))
|
||||
: new ReceivedDateTerm(ComparisonTerm.GE, new Date(sync_time));
|
||||
if (sync_nodate)
|
||||
|
|
Loading…
Reference in a new issue