build: fix

This commit is contained in:
手瓜一十雪 2024-08-15 19:40:33 +08:00
parent 42bad123b2
commit 1742247a9a

View File

@ -536,12 +536,13 @@ export class OB11Constructor {
guildId: '', guildId: '',
peerUid: msg.peerUid, peerUid: msg.peerUid,
}, msgSeq, 1, true, true)).msgList; }, msgSeq, 1, true, true)).msgList;
console.log("表情回应消息长度检测", replyMsgList.length)
if (replyMsgList.length < 1) { if (replyMsgList.length < 1) {
return; return;
} }
const replyMsg = replyMsgList[0]; const replyMsg = replyMsgList.reverse()[0];//获取最顶层消息
console.log('表情回应消息', msgSeq, ' 结算ID', replyMsg.msgId); //console.log('表情回应消息', msgSeq, ' 结算ID', replyMsg.msgId);
return new OB11GroupMsgEmojiLikeEvent( return new OB11GroupMsgEmojiLikeEvent(
core, core,
parseInt(msg.peerUid), parseInt(msg.peerUid),