mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 16:36:59 +03:00
fix: add multi-transport information to Context.get_info (own key for
each transport, alternative to #7583)
This commit is contained in:
@@ -363,7 +363,7 @@ impl CommandApi {
|
||||
}
|
||||
|
||||
/// Get system info for an account.
|
||||
async fn get_info(&self, account_id: u32) -> Result<BTreeMap<&'static str, String>> {
|
||||
async fn get_info(&self, account_id: u32) -> Result<BTreeMap<String, String>> {
|
||||
let ctx = self.get_context(account_id).await?;
|
||||
ctx.get_info().await
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user