admin command to delete all remote media within the past x time

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry authored and June committed 2024-03-03 22:20:37 -05:00
1 parent 5c94c9c0d4
commit ee548bd2e7
6 files changed
+175 -24

No files matched your search

+2
View File
@@ -22,6 +22,8 @@ pub trait Data: Send + Sync {
fn search_mxc_metadata_prefix(&self, mxc: String) -> Result<Vec<Vec<u8>>>;
fn get_all_media_keys(&self) -> Result<Vec<Vec<u8>>>;
fn remove_url_preview(&self, url: &str) -> Result<()>;
fn set_url_preview(