review round on UX coverage

This commit is contained in:
Alain Brenzikofer committed 2026-09-29 15:15:58 +02:00
1 parent 42a4cc8adf
commit baf485b8d6
17 files changed
+336 -167

No files matched your search

+1 -1
View File
@@ -717,7 +717,7 @@ export class ChatApi {
* Determine SimpleX link type and if the bot is already connected via this link.
* Network usage: interactive.
*/
async apiConnectPlan(userId: number, connectionLink: string): Promise<[T.ConnectionPlan, T.CreatedConnLink]> {
async apiConnectPlan(userId: number, connectionLink: string): Promise<[T.ConnectionPlan, T.CreatedConnLink | undefined]> {
const r = await this.sendChatCmd(CC.APIConnectPlan.cmdString({userId, connectTarget: connectionLink, resolveMode: T.PlanResolveMode.Unknown}))
if (r.type === "connectionPlan") return [r.connectionPlan, r.connLink]
throw new ChatCommandError("error getting connect plan", r)