Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Dec 30, 2024
1 parent 3ef5436 commit 0ebeb90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/onebot/api/group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class OneBotGroupApi {
}
}
}

async parseSelfInviteEvent(msg: RawMessage, inviterUin: string, inviteeUin: string) {
return new OB11GroupIncreaseEvent(
this.core,
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 0ebeb90

Please sign in to comment.