From 0ebeb9080480e7583a6bf99eeff79db7f337b01d 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: Mon, 30 Dec 2024 12:31:43 +0800 Subject: [PATCH] fix --- src/onebot/api/group.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/onebot/api/group.ts b/src/onebot/api/group.ts index 870b0268..94464fd1 100644 --- a/src/onebot/api/group.ts +++ b/src/onebot/api/group.ts @@ -234,7 +234,7 @@ export class OneBotGroupApi { } } } - + async parseSelfInviteEvent(msg: RawMessage, inviterUin: string, inviteeUin: string) { return new OB11GroupIncreaseEvent( this.core, @@ -264,7 +264,8 @@ export class OneBotGroupApi { // this.core.apis.GroupApi.refreshGroupMemberCache(msg.peerUid).then().catch(); // return this.parseSelfInviteEvent(msg, inviterUin, inviteeUin); // } - } else if (grayTipElement.xmlElement?.templId === '10382') { + // } else + if (grayTipElement.xmlElement?.templId === '10382') { return await this.obContext.apis.GroupApi.parseGroupEmojiLikeEventByGrayTip(msg.peerUid, grayTipElement); } else { //return await this.obContext.apis.GroupApi.parseGroupIncreaseEvent(msg.peerUid, grayTipElement);