diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-03-01 10:25:14 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-06-01 13:58:54 +0200 |
commit | 3646d8ab9dfce0b1486ef3c57d94a1f3a6844607 (patch) | |
tree | 46e5c432db72c515288b3ccdc7a22d8a3acfaca3 | |
parent | 779378bcf5a476c2f5fd4b86619c5d22c2e03b28 (diff) |
Remove old format fetching
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | bin/domain/imag-mail/src/lib.rs | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/domain/imag-mail/src/lib.rs b/bin/domain/imag-mail/src/lib.rs index 383a7ca8..fe7459e8 100644 --- a/bin/domain/imag-mail/src/lib.rs +++ b/bin/domain/imag-mail/src/lib.rs @@ -141,14 +141,7 @@ fn list(rt: &Runtime) -> Result<()> { let notmuch_path = crate::util::get_notmuch_database_path(rt)?; debug!("notmuch path: {:?}", notmuch_path); - let tree = scmd.is_present("tree"); - debug!("tree: {}", tree); - - let list_format = if tree { - util::get_mail_print_format("mail.list_tree_format", rt, &scmd) - } else { - util::get_mail_print_format("mail.list_format", rt, &scmd) - }?; + let list_format = util::get_mail_print_format("mail.list_format", rt, &scmd)?; debug!("List-format: {:?}", list_format); let notmuch_connection = NotmuchConnection::open(notmuch_path)?; |