mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
feat: Send webxdc name instead of raw file name in pre-messages. Display it in summary (#7790)
The webxdc file name itself isn't informative for users. Still, send and display it if the webxdc manifest can't be parsed, it's better than sending "Mini App" and this isn't a normal case anyway.
This commit is contained in:
@@ -231,7 +231,7 @@ impl Message {
|
||||
.unwrap_or_else(|_| "ErrWebxdcName".to_string()),
|
||||
);
|
||||
} else {
|
||||
type_file = Some(viewtype.to_locale_string(context).await);
|
||||
type_file = self.get_filename();
|
||||
}
|
||||
append_text = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user