mirror of
https://github.com/chatmail/core.git
synced 2026-05-16 13:26:38 +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,
|
32,
|
||||||
self.context,
|
self.context,
|
||||||
);
|
);
|
||||||
let mut lines = raw.lines();
|
|
||||||
let raw_subject = raw.lines().next().unwrap_or_default();
|
let raw_subject = raw.lines().next().unwrap_or_default();
|
||||||
line
|
|
||||||
} else {
|
|
||||||
""
|
|
||||||
};
|
|
||||||
format!("Chat: {}", raw_subject)
|
format!("Chat: {}", raw_subject)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user