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); } }