mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
No need for jsonrpc to do this manually
This commit is contained in:
committed by
link2xt
parent
32a7e5ed82
commit
52fa58a3ce
@@ -1325,7 +1325,6 @@ impl CommandApi {
|
||||
passphrase: Option<String>,
|
||||
) -> Result<()> {
|
||||
let ctx = self.get_context(account_id).await?;
|
||||
ctx.stop_io().await;
|
||||
let result = imex::imex(
|
||||
&ctx,
|
||||
imex::ImexMode::ExportBackup,
|
||||
@@ -1333,7 +1332,6 @@ impl CommandApi {
|
||||
passphrase,
|
||||
)
|
||||
.await;
|
||||
ctx.start_io().await;
|
||||
result
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user