diff options
Diffstat (limited to 'ui/src/components/mail/view')
-rw-r--r-- | ui/src/components/mail/view/envelope.rs | 1 | ||||
-rw-r--r-- | ui/src/components/mail/view/html.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/ui/src/components/mail/view/envelope.rs b/ui/src/components/mail/view/envelope.rs index a614a21c..a9cfd626 100644 --- a/ui/src/components/mail/view/envelope.rs +++ b/ui/src/components/mail/view/envelope.rs @@ -448,6 +448,7 @@ impl Component for EnvelopeView { &decode(u, None), name.as_ref().map(|n| n.clone()), None, + true, ); Command::new(&binary) .arg(p.path()) diff --git a/ui/src/components/mail/view/html.rs b/ui/src/components/mail/view/html.rs index 97ee5aba..26666e78 100644 --- a/ui/src/components/mail/view/html.rs +++ b/ui/src/components/mail/view/html.rs @@ -134,7 +134,7 @@ impl Component for HtmlView { // scripts) let binary = query_default_app("text/html"); if let Ok(binary) = binary { - let p = create_temp_file(&self.bytes, None, None); + let p = create_temp_file(&self.bytes, None, None, true); Command::new(&binary) .arg(p.path()) .stdin(Stdio::piped()) |