Skip to content

Commit

Permalink
fix: 异常
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa authored Aug 13, 2024
1 parent 51f2fb8 commit 25253ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/onebot/helper/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class OB11Constructor {
messagePostFormat: string = obcore.configLoader.configData.messagePostFormat
): Promise<OB11Message | undefined> {
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;
Expand Down

0 comments on commit 25253ad

Please sign in to comment.