mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 04:35:57 +00:00
Return all messages in no search conditions
This commit is contained in:
parent
9189afe909
commit
aac6a6de65
1 changed files with 1 additions and 1 deletions
|
@ -574,7 +574,7 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback<TupleMe
|
|||
|
||||
SearchTerm terms = criteria.getTerms(utf8, state.ifolder.getPermanentFlags(), keywords);
|
||||
if (terms == null)
|
||||
throw new ProtocolException("No search conditions");
|
||||
return state.ifolder.getMessages();
|
||||
|
||||
SearchSequence ss = new SearchSequence(protocol);
|
||||
Argument args = ss.generateSequence(terms, utf8 ? StandardCharsets.UTF_8.name() : null);
|
||||
|
|
Loading…
Reference in a new issue