From 25253ad9e7e25709ac85aa35b6bf1b7e9e6801e1 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: Wed, 14 Aug 2024 01:22:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/onebot/helper/data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/onebot/helper/data.ts b/src/onebot/helper/data.ts index 40596fe75..d563d7a1a 100644 --- a/src/onebot/helper/data.ts +++ b/src/onebot/helper/data.ts @@ -52,7 +52,7 @@ export class OB11Constructor { messagePostFormat: string = obcore.configLoader.configData.messagePostFormat ): Promise { if (msg.senderUin == "0" || msg.senderUin == "") return; - if (msg.peerUin == "0" || msg.peerUin) return; + if (msg.peerUin == "0" || msg.peerUin == "") return; //跳过空消息 const NTQQGroupApi = core.apis.GroupApi; const NTQQUserApi = core.apis.UserApi;