fix optimisation

This commit is contained in:
B. Petersen
2020-01-12 21:34:18 +01:00
committed by holger krekel
parent 614ec30e05
commit 73c69c3f93

View File

@@ -346,12 +346,7 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
32,
self.context,
);
let mut lines = raw.lines();
let raw_subject = raw.lines().next().unwrap_or_default();
line
} else {
""
};
format!("Chat: {}", raw_subject)
}
}