From 5b265dbc1c2e497643b0c0af6247a89334ea7bf7 Mon Sep 17 00:00:00 2001 From: bjoern Date: Fri, 13 Jan 2023 18:25:20 +0100 Subject: [PATCH] remove comma from unit in message-details (#3954) it shoud read "filename.ext, 123 bytes" and not "filename.ext, 123, bytes" --- src/message.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/message.rs b/src/message.rs index 63bf1450f..48819a218 100644 --- a/src/message.rs +++ b/src/message.rs @@ -1180,7 +1180,7 @@ pub async fn get_msg_info(context: &Context, msg_id: MsgId) -> Result { 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 {