remove some various unused functions and mark some possibly important ones *for now*
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
66bb88a03a
commit
17d0c869b0
11 changed files with 41 additions and 36 deletions
|
@ -459,6 +459,8 @@ impl Service {
|
|||
|
||||
pub(crate) async fn get_url_preview(&self, url: &str) -> Option<UrlPreviewData> { self.db.get_url_preview(url) }
|
||||
|
||||
/// TODO: use this?
|
||||
#[allow(dead_code)]
|
||||
pub(crate) async fn remove_url_preview(&self, url: &str) -> Result<()> {
|
||||
// TODO: also remove the downloaded image
|
||||
self.db.remove_url_preview(url)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue