aboutsummaryrefslogtreecommitdiff
path: root/src/imap/mailbox_view.rs
diff options
context:
space:
mode:
authorQuentin Dufour <quentin@deuxfleurs.fr>2024-01-06 20:40:18 +0100
committerQuentin Dufour <quentin@deuxfleurs.fr>2024-01-06 20:40:18 +0100
commitea1772df425cb7faa4628b1c6c398ae3f77fca34 (patch)
tree5c6cf7f14b8046b3d063fb2fdf41712a8d1c28b4 /src/imap/mailbox_view.rs
parent870de493c84c6c3134d14ee8a234f124360354a7 (diff)
downloadaerogramme-ea1772df425cb7faa4628b1c6c398ae3f77fca34.tar.gz
aerogramme-ea1772df425cb7faa4628b1c6c398ae3f77fca34.zip
Searching on storage date is now possible
Diffstat (limited to 'src/imap/mailbox_view.rs')
-rw-r--r--src/imap/mailbox_view.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/imap/mailbox_view.rs b/src/imap/mailbox_view.rs
index 3c43be8..362e2e2 100644
--- a/src/imap/mailbox_view.rs
+++ b/src/imap/mailbox_view.rs
@@ -330,7 +330,7 @@ impl MailboxView {
let query_result = self.0.query(&uuids, query_scope).fetch().await?;
// 5. If needed, filter the selection based on the body
- let kept_query = crit.filter_on_query(&to_fetch, &query_result);
+ let kept_query = crit.filter_on_query(&to_fetch, &query_result)?;
// 6. Format the result according to the client's taste:
// either return UID or ID.