This commit is contained in:
手瓜一十雪 2024-12-30 12:31:43 +08:00
parent 3ef5436c98
commit 0ebeb90804

View File

@ -234,7 +234,7 @@ export class OneBotGroupApi {
} }
} }
} }
async parseSelfInviteEvent(msg: RawMessage, inviterUin: string, inviteeUin: string) { async parseSelfInviteEvent(msg: RawMessage, inviterUin: string, inviteeUin: string) {
return new OB11GroupIncreaseEvent( return new OB11GroupIncreaseEvent(
this.core, this.core,
@ -264,7 +264,8 @@ export class OneBotGroupApi {
// this.core.apis.GroupApi.refreshGroupMemberCache(msg.peerUid).then().catch(); // this.core.apis.GroupApi.refreshGroupMemberCache(msg.peerUid).then().catch();
// return this.parseSelfInviteEvent(msg, inviterUin, inviteeUin); // 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); return await this.obContext.apis.GroupApi.parseGroupEmojiLikeEventByGrayTip(msg.peerUid, grayTipElement);
} else { } else {
//return await this.obContext.apis.GroupApi.parseGroupIncreaseEvent(msg.peerUid, grayTipElement); //return await this.obContext.apis.GroupApi.parseGroupIncreaseEvent(msg.peerUid, grayTipElement);