mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 08:07:27 +00:00
style: format device-pair qr fallback
This commit is contained in:
@@ -457,16 +457,12 @@ export default function register(api: OpenClawPluginApi) {
|
|||||||
if (send) {
|
if (send) {
|
||||||
await send(
|
await send(
|
||||||
target,
|
target,
|
||||||
[
|
["Scan this QR code with the OpenClaw iOS app:", "", "```", qrAscii, "```"].join(
|
||||||
"Scan this QR code with the OpenClaw iOS app:",
|
"\n",
|
||||||
"",
|
),
|
||||||
"```",
|
|
||||||
qrAscii,
|
|
||||||
"```",
|
|
||||||
].join("\n"),
|
|
||||||
{
|
{
|
||||||
...(ctx.messageThreadId != null ? { messageThreadId: ctx.messageThreadId } : {}),
|
...(ctx.messageThreadId != null ? { messageThreadId: ctx.messageThreadId } : {}),
|
||||||
...(ctx.accountId ? { accountId: ctx.accountId } : {}),
|
...(ctx.accountId ? { accountId: ctx.accountId } : {}),
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user