fix: 多个问题

修复group_increase事件上报
修复启动时加载群员信息失败
修复文件发送失败
This commit is contained in:
Alen
2024-08-25 22:23:06 +08:00
parent 1332800c3b
commit b9a88f97c5
5 changed files with 25 additions and 35 deletions

View File

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