mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-04 02:28:18 +00:00
Return no messages on search ID failure
This commit is contained in:
parent
e3843fce91
commit
7855235da3
1 changed files with 1 additions and 1 deletions
|
@ -2380,7 +2380,7 @@ public class IMAPFolder extends Folder implements UIDFolder, ResponseHandler {
|
|||
// unsupported charset or search criterion
|
||||
eu.faircode.email.Log.e(cfx);
|
||||
if (term instanceof MessageIDTerm)
|
||||
throw new MessagingException(cfx.getMessage(), cfx);
|
||||
return new Message[0];
|
||||
return super.search(term);
|
||||
} catch (SearchException sex) {
|
||||
// too complex for IMAP
|
||||
|
|
Loading…
Add table
Reference in a new issue