From 3a3bbfe2012949a1aa8957e6e2def3325ba83688 Mon Sep 17 00:00:00 2001 From: Alen Date: Mon, 5 Aug 2024 00:18:42 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复(群聊/私聊)转发合并消息错误的问题 --- src/onebot11/action/msg/SendMsg/handle-forward-node.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot11/action/msg/SendMsg/handle-forward-node.ts b/src/onebot11/action/msg/SendMsg/handle-forward-node.ts index 755cda97..6a416655 100644 --- a/src/onebot11/action/msg/SendMsg/handle-forward-node.ts +++ b/src/onebot11/action/msg/SendMsg/handle-forward-node.ts @@ -53,7 +53,7 @@ export async function handleForwardNode(destPeer: Peer, messageNodes: OB11Messag const nodeId = messageNode.data.id; // 有nodeId表示一个子转发消息卡片 if (nodeId) { - const nodeMsg = MessageUnique.getMsgIdAndPeerByShortId(parseInt(nodeId)); + const nodeMsg = MessageUnique.getPeerByMsgId(nodeId); if (!needClone) { nodeMsgIds.push(nodeMsg!.MsgId); } else {