diff --git a/deltachat-jsonrpc/src/api/mod.rs b/deltachat-jsonrpc/src/api/mod.rs index 26b09b6cb..ce0d1ab8f 100644 --- a/deltachat-jsonrpc/src/api/mod.rs +++ b/deltachat-jsonrpc/src/api/mod.rs @@ -128,9 +128,7 @@ impl CommandApi { /// Returns provider for the given domain. /// - /// This function looks up domain in offline database first. If not - /// found, it queries MX record for the domain and looks up offline - /// database for MX domains. + /// This function looks up domain in offline database. /// /// For compatibility, email address can be passed to this function /// instead of the domain. @@ -156,7 +154,7 @@ impl CommandApi { ctx.is_configured().await } - // Get system info for an account. + /// Get system info for an account. async fn get_info(&self, account_id: u32) -> Result> { let ctx = self.get_context(account_id).await?; ctx.get_info().await diff --git a/deltachat-jsonrpc/typescript/generated/client.ts b/deltachat-jsonrpc/typescript/generated/client.ts index da1561440..6b0ff7994 100644 --- a/deltachat-jsonrpc/typescript/generated/client.ts +++ b/deltachat-jsonrpc/typescript/generated/client.ts @@ -76,9 +76,7 @@ export class RawClient { /** * Returns provider for the given domain. * - * This function looks up domain in offline database first. If not - * found, it queries MX record for the domain and looks up offline - * database for MX domains. + * This function looks up domain in offline database. * * For compatibility, email address can be passed to this function * instead of the domain. @@ -94,7 +92,9 @@ export class RawClient { return (this._transport.request('is_configured', [accountId] as RPC.Params)) as Promise; } - + /** + * Get system info for an account. + */ public getInfo(accountId: T.U32): Promise> { return (this._transport.request('get_info', [accountId] as RPC.Params)) as Promise>; }