introduce read_headers in account config (#338)

This commit is contained in:
Clément DOUIN
2022-03-12 15:25:35 +01:00
parent d3968461e2
commit f9bed5f3c2
6 changed files with 82 additions and 29 deletions
+10 -1
View File
@@ -222,7 +222,16 @@ fn main() -> Result<()> {
return msg_handlers::move_(seq, mbox, mbox_dst, &mut printer, backend);
}
Some(msg_args::Cmd::Read(seq, text_mime, raw, headers)) => {
return msg_handlers::read(seq, text_mime, raw, headers, mbox, &mut printer, backend);
return msg_handlers::read(
seq,
text_mime,
raw,
headers,
mbox,
&account_config,
&mut printer,
backend,
);
}
Some(msg_args::Cmd::Reply(seq, all, attachment_paths, encrypt)) => {
return msg_handlers::reply(