From 665360f48d5029714705721c80c491e2db35955c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 22 May 2025 11:33:23 +0800 Subject: [PATCH] fix: #1027 --- src/core/external/offset.json | 4 ++-- src/onebot/index.ts | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/core/external/offset.json b/src/core/external/offset.json index 96deb5d7..6242e1e8 100644 --- a/src/core/external/offset.json +++ b/src/core/external/offset.json @@ -380,8 +380,8 @@ "recv": "3BEA210" }, "9.9.19-35341-x64": { - "send": "3BE5A10", - "recv": "3BEA210" + "send": "3BF1D50", + "recv": "3BF6550" }, "3.2.17-35341-x64": { "send": "AE2F700", diff --git a/src/onebot/index.ts b/src/onebot/index.ts index baa4406a..f5af0dd4 100644 --- a/src/onebot/index.ts +++ b/src/onebot/index.ts @@ -282,7 +282,8 @@ export class NapCatOneBot11Adapter { }, 1, 10 * 60 * 1000); // 10分钟 超时 const updatemsg = updatemsgs.find((e) => e.msgId === msg.msgId); - if (updatemsg?.sendStatus == SendStatusType.KSEND_STATUS_SUCCESS || updatemsg?.sendStatus == SendStatusType.KSEND_STATUS_SUCCESS_NOSEQ) { + // updatemsg?.sendStatus == SendStatusType.KSEND_STATUS_SUCCESS_NOSEQ NOSEQ一般是服务器未下发SEQ 这意味着这条消息不应该推送network + if (updatemsg?.sendStatus == SendStatusType.KSEND_STATUS_SUCCESS) { updatemsg.id = MessageUnique.createUniqueMsgId( { chatType: updatemsg.chatType,