admin command to delete media via MXC url
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
27c29e6063
commit
4d624846ee
4 changed files with 85 additions and 41 deletions
|
@ -20,6 +20,8 @@ pub trait Data: Send + Sync {
|
|||
height: u32,
|
||||
) -> Result<(Option<String>, Option<String>, Vec<u8>)>;
|
||||
|
||||
fn search_mxc_metadata_prefix(&self, mxc: String) -> Result<Vec<Vec<u8>>>;
|
||||
|
||||
fn remove_url_preview(&self, url: &str) -> Result<()>;
|
||||
|
||||
fn set_url_preview(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue