mirror of
https://github.com/chatmail/core.git
synced 2026-05-06 16:36:59 +03:00
remove selectAccount from highlevel client
This commit is contained in:
@@ -39,11 +39,6 @@ export class BaseDeltachat<
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
async selectAccount(id: number) {
|
|
||||||
await this.rpc.selectAccount(id);
|
|
||||||
this.account = await this.rpc.getAccountInfo(id);
|
|
||||||
}
|
|
||||||
|
|
||||||
async listAccounts(): Promise<T.Account[]> {
|
async listAccounts(): Promise<T.Account[]> {
|
||||||
return await this.rpc.getAllAccounts();
|
return await this.rpc.getAllAccounts();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user