mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Fix error in message info
This commit is contained in:
@@ -942,7 +942,9 @@ pub async fn get_msg_info(context: &Context, msg_id: MsgId) -> String {
|
||||
|
||||
ret += "\n";
|
||||
if let Some(err) = &msg.error {
|
||||
ret += &format!("Error: {}", err)
|
||||
if !err.is_empty() {
|
||||
ret += &format!("Error: {}", err)
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(path) = msg.get_file(context) {
|
||||
|
||||
Reference in New Issue
Block a user