From 3ea92d57c24e02b5bec59246fe08cf78c7463d03 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?=
 <nanaeonn@outlook.com>
Date: Tue, 13 Aug 2024 22:11:28 +0800
Subject: [PATCH] =?UTF-8?q?chore:=20=E6=8E=92=E9=99=A4=E7=A9=BA=E6=B6=88?=
 =?UTF-8?q?=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/onebot/helper/data.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/onebot/helper/data.ts b/src/onebot/helper/data.ts
index b23713d4..73461eb6 100644
--- a/src/onebot/helper/data.ts
+++ b/src/onebot/helper/data.ts
@@ -51,8 +51,8 @@ export class OB11Constructor {
         msg: RawMessage,
         messagePostFormat: string = obcore.configLoader.configData.messagePostFormat
     ): Promise<OB11Message | undefined> {
-        if (msg.senderUin == "0") return;
-        if (msg.peerUin == "0") return;
+        if (msg.senderUin == "0" || msg.senderUin == "") return;
+        if (msg.peerUin == "0" || msg.peerUin) return;
         //跳过空消息
         const NTQQGroupApi = core.apis.GroupApi;
         const NTQQUserApi = core.apis.UserApi;