From d08af47342d3af2fed6c234f62b357f169db5e8f Mon Sep 17 00:00:00 2001 From: JiangYingjin Date: Sun, 2 Mar 2025 02:27:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=B8=80=E9=94=AE=E5=A1=AB?= =?UTF-8?q?=E5=85=A5=E8=BF=87=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/components/chat.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/components/chat.tsx b/app/components/chat.tsx index a701e0181..ff38b2629 100644 --- a/app/components/chat.tsx +++ b/app/components/chat.tsx @@ -1436,6 +1436,12 @@ function _Chat() { if (payload.code) { accessStore.update((access) => (access.accessCode = payload.code!)); + if (accessStore.isAuthorized()) { + context.pop(); + const copiedHello = Object.assign({}, BOT_HELLO); + context.push(copiedHello); + setUserInput(" "); + } } } catch { console.error("[Command] failed to get settings from url: ", text);