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:
iequidoo
2026-02-05 04:45:47 -03:00
committed by iequidoo
parent 4041d9a54e
commit ba64d8d19b
4 changed files with 48 additions and 8 deletions

View File

@@ -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;
}