mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
fix optimisation
This commit is contained in:
committed by
holger krekel
parent
614ec30e05
commit
73c69c3f93
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user