diff --git a/extensions/device-pair/index.ts b/extensions/device-pair/index.ts index 2f99060626..2dd05f1a75 100644 --- a/extensions/device-pair/index.ts +++ b/extensions/device-pair/index.ts @@ -457,16 +457,12 @@ export default function register(api: OpenClawPluginApi) { if (send) { await send( target, - [ - "Scan this QR code with the OpenClaw iOS app:", - "", - "```", - qrAscii, - "```", - ].join("\n"), + ["Scan this QR code with the OpenClaw iOS app:", "", "```", qrAscii, "```"].join( + "\n", + ), { - ...(ctx.messageThreadId != null ? { messageThreadId: ctx.messageThreadId } : {}), - ...(ctx.accountId ? { accountId: ctx.accountId } : {}), + ...(ctx.messageThreadId != null ? { messageThreadId: ctx.messageThreadId } : {}), + ...(ctx.accountId ? { accountId: ctx.accountId } : {}), }, ); return {