mirror of https://github.com/M66B/FairEmail.git
Search on sent time too for Outlook
This commit is contained in:
parent
9d9721fe9d
commit
29452619a5
|
@ -3028,6 +3028,8 @@ class Core {
|
|||
|
||||
SearchTerm searchTerm = dateTerm;
|
||||
Flags flags = ifolder.getPermanentFlags();
|
||||
if (!account.use_date && account.isOutlook())
|
||||
searchTerm = new OrTerm(searchTerm, new SentDateTerm(ComparisonTerm.GE, new Date(sync_time)));
|
||||
if (sync_nodate)
|
||||
searchTerm = new OrTerm(searchTerm, new ReceivedDateTerm(ComparisonTerm.LT, new Date(365 * 24 * 3600 * 1000L)));
|
||||
if (sync_unseen && flags.contains(Flags.Flag.SEEN))
|
||||
|
|
Loading…
Reference in New Issue