mirror of
https://github.com/chatmail/core.git
synced 2026-05-13 20:06:30 +03:00
fix: Add additional_text also to the summary, in order to prevent empty summaries
This commit is contained in:
@@ -262,7 +262,7 @@ impl Message {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let text = self.text.clone();
|
let text = self.text.clone() + &self.additional_text;
|
||||||
|
|
||||||
let summary = if let Some(type_file) = type_file {
|
let summary = if let Some(type_file) = type_file {
|
||||||
if append_text && !text.is_empty() {
|
if append_text && !text.is_empty() {
|
||||||
|
|||||||
Reference in New Issue
Block a user