Browse Source

melib: return raw body instead of headers in MaildirOp::fetch_body

embed
Manos Pitsidianakis 2 years ago
parent
commit
cfb6fd3fde
Signed by: epilys GPG Key ID: 73627C2F690DF710
  1. 2
      melib/src/backends/maildir.rs

2
melib/src/backends/maildir.rs

@ -99,7 +99,7 @@ impl<'a> BackendOp for MaildirOp {
}
fn fetch_body(&mut self) -> Result<&[u8]> {
let raw = self.as_bytes()?;
let result = parser::headers_raw(raw).to_full_result()?;
let result = parser::body_raw(raw).to_full_result()?;
Ok(result)
}
fn fetch_flags(&self) -> Flag {

Loading…
Cancel
Save