diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-06 20:40:18 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-01-06 20:40:18 +0100 |
commit | ea1772df425cb7faa4628b1c6c398ae3f77fca34 (patch) | |
tree | 5c6cf7f14b8046b3d063fb2fdf41712a8d1c28b4 /src/imap/mime_view.rs | |
parent | 870de493c84c6c3134d14ee8a234f124360354a7 (diff) | |
download | aerogramme-ea1772df425cb7faa4628b1c6c398ae3f77fca34.tar.gz aerogramme-ea1772df425cb7faa4628b1c6c398ae3f77fca34.zip |
Searching on storage date is now possible
Diffstat (limited to 'src/imap/mime_view.rs')
-rw-r--r-- | src/imap/mime_view.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imap/mime_view.rs b/src/imap/mime_view.rs index 1f36c47..5175c76 100644 --- a/src/imap/mime_view.rs +++ b/src/imap/mime_view.rs @@ -12,7 +12,7 @@ use eml_codec::{ header, mime, mime::r#type::Deductible, part::composite, part::discrete, part::AnyPart, }; -use crate::imap::imf_view::message_envelope; +use crate::imap::imf_view::ImfView; pub enum BodySection<'a> { Full(Cow<'a, [u8]>), @@ -347,7 +347,7 @@ impl<'a> NodeMsg<'a> { body: FetchBody { basic, specific: SpecificFields::Message { - envelope: Box::new(message_envelope(&self.1.imf)), + envelope: Box::new(ImfView(&self.1.imf).message_envelope()), body_structure: Box::new(NodeMime(&self.1.child).structure()?), number_of_lines: nol(self.1.raw_part), }, |