mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 01:16:31 +03:00
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:
@@ -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) {
|
if let Some(path) = msg.get_file(context) {
|
||||||
let bytes = get_filebytes(context, &path).await?;
|
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 {
|
if msg.viewtype != Viewtype::Text {
|
||||||
|
|||||||
Reference in New Issue
Block a user