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
|
@ -17,6 +17,8 @@ pub(crate) trait Data: Send + Sync {
|
|||
|
||||
fn get_all_media_keys(&self) -> Result<Vec<Vec<u8>>>;
|
||||
|
||||
// TODO: use this
|
||||
#[allow(dead_code)]
|
||||
fn remove_url_preview(&self, url: &str) -> Result<()>;
|
||||
|
||||
fn set_url_preview(&self, url: &str, data: &super::UrlPreviewData, timestamp: std::time::Duration) -> Result<()>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue