1 parent ebda751 commit 4d95083Copy full SHA for 4d95083
1 file changed
imap-core/lib/commands/search.js
@@ -183,9 +183,8 @@ function parseQueryTerms(terms, uidList) {
183
if (!termType) {
184
// try if it is a sequence set
185
if (imapTools.validateSequence(term)) {
186
- let messageRange = imapTools.getMessageRange(uidList, term, false);
187
// resolve sequence list to an array of UID values
188
- curTerm = ['uid', messageRange];
+ curTerm = ['uid', imapTools.getMessageRange(uidList, term, false)];
189
} else {
190
// no idea what the term is for
191
throw new Error('Unknown search term ' + term.toUpperCase());
0 commit comments