remove comma from unit in message-details (#3954)

it shoud read "filename.ext, 123 bytes" and not "filename.ext, 123, bytes"
This commit is contained in:
bjoern
2023-01-13 18:25:20 +01:00
committed by GitHub
parent 0053e143e7
commit 5b265dbc1c

View File

@@ -1180,7 +1180,7 @@ pub async fn get_msg_info(context: &Context, msg_id: MsgId) -> Result<String> {
if let Some(path) = msg.get_file(context) {
let bytes = get_filebytes(context, &path).await?;
ret += &format!("\nFile: {}, {}, bytes\n", path.display(), bytes);
ret += &format!("\nFile: {}, {} bytes\n", path.display(), bytes);
}
if msg.viewtype != Viewtype::Text {