mirror of
https://github.com/chatmail/core.git
synced 2026-05-20 23:36:30 +03:00
refactor: Remove unneeded deprecated attr
Not sure why it was marked as deprecated, but it's definitely used, and not discuraged to use (??).
This commit is contained in:
@@ -416,7 +416,6 @@ impl Context {
|
|||||||
///
|
///
|
||||||
/// Returns true if passphrase is correct, false is passphrase is not correct. Fails on other
|
/// Returns true if passphrase is correct, false is passphrase is not correct. Fails on other
|
||||||
/// errors.
|
/// errors.
|
||||||
#[deprecated(since = "TBD")]
|
|
||||||
pub async fn open(&self, passphrase: String) -> Result<bool> {
|
pub async fn open(&self, passphrase: String) -> Result<bool> {
|
||||||
if self.sql.check_passphrase(passphrase.clone()).await? {
|
if self.sql.check_passphrase(passphrase.clone()).await? {
|
||||||
self.sql.open(self, passphrase).await?;
|
self.sql.open(self, passphrase).await?;
|
||||||
|
|||||||
Reference in New Issue
Block a user