From 29699418ff85987efe60b493acd2f29f0b5c8c76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Tue, 6 Aug 2024 17:02:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AF=B9=E6=BC=8F=E6=8E=89=E7=9A=84?= =?UTF-8?q?=E9=83=A8=E5=88=86=E5=8A=A0=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/onebot11/server/postOB11Event.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/server/postOB11Event.ts b/src/onebot11/server/postOB11Event.ts index 56d39288..fe7d2662 100644 --- a/src/onebot11/server/postOB11Event.ts +++ b/src/onebot11/server/postOB11Event.ts @@ -159,7 +159,7 @@ async function handleMsg(msg: OB11Message, quickAction: QuickAction) { } } replyMessage = replyMessage.concat(normalize(reply, quickAction.auto_escape)); - const { sendElements, deleteAfterSentFiles } = await createSendElements(replyMessage, group); + const { sendElements, deleteAfterSentFiles } = await createSendElements(replyMessage, peer); sendMsg(peer, sendElements, deleteAfterSentFiles, false).then().catch(logError); } }