Merge pull request #208 from cnxysoft/main

BUG修复
This commit is contained in:
Alen 2024-08-05 00:20:17 +08:00 committed by GitHub
commit 1c62a1e839
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -53,7 +53,7 @@ export async function handleForwardNode(destPeer: Peer, messageNodes: OB11Messag
const nodeId = messageNode.data.id; const nodeId = messageNode.data.id;
// 有nodeId表示一个子转发消息卡片 // 有nodeId表示一个子转发消息卡片
if (nodeId) { if (nodeId) {
const nodeMsg = MessageUnique.getMsgIdAndPeerByShortId(parseInt(nodeId)); const nodeMsg = MessageUnique.getPeerByMsgId(nodeId);
if (!needClone) { if (!needClone) {
nodeMsgIds.push(nodeMsg!.MsgId); nodeMsgIds.push(nodeMsg!.MsgId);
} else { } else {