revert: 入群事件

因getGroupMembers切换到V2,恢复原本逻辑
This commit is contained in:
Alen 2024-08-27 13:52:23 +08:00
parent 5a0028be26
commit b64d1ff4ff

View File

@ -78,7 +78,7 @@ export class OneBotGroupApi {
const NTQQGroupApi = this.core.apis.GroupApi;
const groupElement = grayTipElement?.groupElement;
if (!groupElement) return undefined;
const member = await NTQQGroupApi.getGroupMemberV2(GroupCode, groupElement.memberUid);
const member = await NTQQGroupApi.getGroupMember(GroupCode, groupElement.memberUid);
const memberUin = member?.uin;
const adminMember = await NTQQGroupApi.getGroupMember(GroupCode, groupElement.adminUid);
if (memberUin) {