Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Keep server/index.ts within its line limit

Krishna Dobhal81597cc068b9
diff --git a/server/index.ts b/server/index.ts
index 42077c4585..fdcc8cb37a 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -7689,8 +7689,7 @@ async function beginTurn(
peerAsk: opts?.peerAsk,
sender: opts?.sender,
...spokenLineFields(opts?.via, opts?.callId),
- ...(opts?.relayed ? { relayed: true } : {}),
- ...(automated ? { automated: true } : {}),
+ ...(opts?.relayed ? { relayed: true } : {}), ...(automated ? { automated: true } : {}),
});
}
const personLine = !opts?.coordination && !opts?.cardContinuation && !opts?.automationSource && !opts?.compactOnly