iOS: improve QR pairing flow (#51359)

- improve QR pairing UX and bootstrap token handling
- preserve repeated optimistic user messages during refresh
- add regression coverage for refresh reconciliation

Thanks @ImLukeF
This commit is contained in:
Val Alexander
2026-03-21 01:10:29 -05:00
parent ce6a48195a
commit 2fd372836e
17 changed files with 1257 additions and 184 deletions

View File

@@ -322,7 +322,7 @@ function resolveBindingConversationFromCommand(params: {
from?: string;
to?: string;
accountId?: string;
messageThreadId?: number;
messageThreadId?: string | number;
}): {
channel: string;
accountId: string;

View File

@@ -963,7 +963,7 @@ export type PluginCommandContext = {
/** Account id for multi-account channels */
accountId?: string;
/** Thread/topic id if available */
messageThreadId?: number;
messageThreadId?: string | number;
requestConversationBinding: (
params?: PluginConversationBindingRequestParams,
) => Promise<PluginConversationBindingRequestResult>;