parent
79becdcc42
commit
678921d2b7
|
@ -116,7 +116,6 @@ impl MailView {
|
||||||
Some(Box::new(move |a: &'closure Attachment, v: &mut Vec<u8>| {
|
Some(Box::new(move |a: &'closure Attachment, v: &mut Vec<u8>| {
|
||||||
if a.content_type().is_text_html() {
|
if a.content_type().is_text_html() {
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::process::{Command, Stdio};
|
|
||||||
let settings = context.accounts[self.coordinates.0].runtime_settings.conf();
|
let settings = context.accounts[self.coordinates.0].runtime_settings.conf();
|
||||||
/* FIXME: duplication with view/html.rs */
|
/* FIXME: duplication with view/html.rs */
|
||||||
if let Some(filter_invocation) = settings.html_filter() {
|
if let Some(filter_invocation) = settings.html_filter() {
|
||||||
|
|
|
@ -96,7 +96,6 @@ impl EnvelopeView {
|
||||||
Some(Box::new(|a: &Attachment, v: &mut Vec<u8>| {
|
Some(Box::new(|a: &Attachment, v: &mut Vec<u8>| {
|
||||||
if a.content_type().is_text_html() {
|
if a.content_type().is_text_html() {
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::process::{Command, Stdio};
|
|
||||||
let settings = context.accounts[self.account_pos].runtime_settings.conf();
|
let settings = context.accounts[self.account_pos].runtime_settings.conf();
|
||||||
if let Some(filter_invocation) = settings.html_filter() {
|
if let Some(filter_invocation) = settings.html_filter() {
|
||||||
let parts = split_command!(filter_invocation);
|
let parts = split_command!(filter_invocation);
|
||||||
|
|
Loading…
Reference in New Issue