release: 2.2.20

This commit is contained in:
手瓜一十雪
2024-08-28 17:48:51 +08:00
parent 2722ca2b0e
commit 03a298a70f
11 changed files with 39 additions and 25 deletions

View File

@@ -33,11 +33,6 @@ export class NTQQGroupApi {
}
this.context.logger.logDebug(`加载${this.groups.length}个群组缓存完成`);
}
async getGroupInfoEx(groupCode: string) {
const groupDetail = await this.context.session.getGroupService().getGroupDetailInfo(groupCode, GroupInfoSource.KDATACARD);
const groupExtInfo = await this.getGroupExtFE0Info([groupCode]);
return { groupDetail, groupExtInfo };
}
async setGroupAvatar(gc: string, filePath: string) {
return this.context.session.getGroupService().setHeader(gc, filePath);
}