Revert "api: add clear_all_relay_storage API"

This reverts commit 10ab556d65.
This commit is contained in:
B. Petersen
2026-04-25 00:47:08 +02:00
committed by biörn
parent 7de58f5329
commit ba8c39ff5b
4 changed files with 4 additions and 108 deletions

View File

@@ -318,15 +318,6 @@ impl CommandApi {
Ok(())
}
/// Requests to clear storage on all chatmail relays.
///
/// I/O must be started for this request to take effect.
async fn clear_all_relay_storage(&self, account_id: u32) -> Result<()> {
let ctx = self.get_context(account_id).await?;
ctx.clear_all_relay_storage().await?;
Ok(())
}
/// Get top-level info for an account.
async fn get_account_info(&self, account_id: u32) -> Result<Account> {
let context_option = self.accounts.read().await.get_account(account_id);