Revert "Fetch all seen and unseen on fetch all"

This reverts commit 26fb019ffe.
pull/197/head
M66B 4 years ago
parent 1d43f6c8a6
commit 4704e9ba89

@ -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…
Cancel
Save