db functions to delete media via MXC
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
cc762c49e2
commit
27c29e6063
3 changed files with 58 additions and 1 deletions
|
@ -10,6 +10,8 @@ pub trait Data: Send + Sync {
|
|||
content_type: Option<&str>,
|
||||
) -> Result<Vec<u8>>;
|
||||
|
||||
fn delete_file_mxc(&self, mxc: String) -> Result<()>;
|
||||
|
||||
/// Returns content_disposition, content_type and the metadata key.
|
||||
fn search_file_metadata(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue