mirror of
https://github.com/chatmail/core.git
synced 2026-04-20 15:06:30 +03:00
Fixes for get_webxdc_blob documentation
This commit is contained in:
@@ -670,8 +670,10 @@ impl Message {
|
||||
Ok(archive)
|
||||
}
|
||||
|
||||
/// Return file form inside an archive.
|
||||
/// Return file from inside an archive.
|
||||
/// Currently, this works only if the message is an webxdc instance.
|
||||
///
|
||||
/// `name` is the filename within the archive, e.g. `index.html`.
|
||||
pub async fn get_webxdc_blob(&self, context: &Context, name: &str) -> Result<Vec<u8>> {
|
||||
ensure!(self.viewtype == Viewtype::Webxdc, "No webxdc instance.");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user