From 01c1ccfd009ebb19d203c0f4c3afec2ae359c041 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Sun, 28 Dec 2025 00:24:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=8E=A5=E5=8F=A3=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client-protocol/Chat.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client-protocol/Chat.ts b/client-protocol/Chat.ts index bbd92c5..62142ee 100644 --- a/client-protocol/Chat.ts +++ b/client-protocol/Chat.ts @@ -53,7 +53,7 @@ export default class Chat extends BaseClientObject { } } static async getOrCreatePrivateChatOrThrow(client: LingChairClient, user_id: string) { - const re = await client.invoke("Chat.getIdForPrivate", { + const re = await client.invoke("Chat.getOrCreatePrivateChat", { token: client.access_token, target: user_id, })