mirror of
https://github.com/chatmail/core.git
synced 2026-05-02 21:06:31 +03:00
Update src/mimefactory.rs
Co-Authored-By: Alexander Krotov <ilabdsf@gmail.com>
This commit is contained in:
@@ -347,7 +347,7 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
|
|||||||
self.context,
|
self.context,
|
||||||
);
|
);
|
||||||
let mut lines = raw.lines();
|
let mut lines = raw.lines();
|
||||||
let raw_subject = if let Some(line) = lines.next() {
|
let raw_subject = raw.lines().next().unwrap_or_default();
|
||||||
line
|
line
|
||||||
} else {
|
} else {
|
||||||
""
|
""
|
||||||
|
|||||||
Reference in New Issue
Block a user