mirror of
https://github.com/chatmail/core.git
synced 2026-05-24 17:26:30 +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>,
|
passphrase: Option<String>,
|
||||||
) -> Result<()> {
|
) -> Result<()> {
|
||||||
let ctx = self.get_context(account_id).await?;
|
let ctx = self.get_context(account_id).await?;
|
||||||
ctx.stop_io().await;
|
|
||||||
let result = imex::imex(
|
let result = imex::imex(
|
||||||
&ctx,
|
&ctx,
|
||||||
imex::ImexMode::ExportBackup,
|
imex::ImexMode::ExportBackup,
|
||||||
@@ -1333,7 +1332,6 @@ impl CommandApi {
|
|||||||
passphrase,
|
passphrase,
|
||||||
)
|
)
|
||||||
.await;
|
.await;
|
||||||
ctx.start_io().await;
|
|
||||||
result
|
result
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user