mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: typo
This commit is contained in:
parent
0e60d4b198
commit
361a164f2a
@ -171,7 +171,7 @@ export class OB11Constructor {
|
|||||||
if (!replyMsg || replyMsg.msgRandom !== records.msgRandom) {
|
if (!replyMsg || replyMsg.msgRandom !== records.msgRandom) {
|
||||||
//logWarn(`消息比对失败,准备重新尝试 Info: CurrentMsgRandom:${replyMsg?.msgRandom}/TargetMsgRandom:${records.msgRandom}`);
|
//logWarn(`消息比对失败,准备重新尝试 Info: CurrentMsgRandom:${replyMsg?.msgRandom}/TargetMsgRandom:${records.msgRandom}`);
|
||||||
await sleep(700);
|
await sleep(700);
|
||||||
replyMsg = (await NTQQMsgApi.getMsgsByMsgId(peer, MessageUnique.getRecentMsgIds(peer, 50))).msgList.find((msg) => msg.msgRandom == records.msgRandom && msg.msgSeq == element.replyElement.replayMsgSeq);
|
replyMsg = (await NTQQMsgApi.getMsgsBySeqAndCount({ peerUid: msg.peerUid, guildId: '', chatType: msg.chatType }, element.replyElement.replayMsgSeq, 1, true, true)).msgList[0];
|
||||||
}
|
}
|
||||||
if (!replyMsg || replyMsg.msgRandom !== records.msgRandom) {
|
if (!replyMsg || replyMsg.msgRandom !== records.msgRandom) {
|
||||||
//logWarn(`消息比对失败,准备重新尝试 Info: CurrentMsgRandom:${replyMsg?.msgRandom}/TargetMsgRandom:${records.msgRandom}`);
|
//logWarn(`消息比对失败,准备重新尝试 Info: CurrentMsgRandom:${replyMsg?.msgRandom}/TargetMsgRandom:${records.msgRandom}`);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user