fix: add multi-transport information to Context.get_info (own key for

each transport, alternative to #7583)
This commit is contained in:
Simon Laux
2025-12-09 10:32:49 +01:00
parent f0e6942438
commit 6df71e9e9f
3 changed files with 13 additions and 16 deletions

View File

@@ -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
}