This commit is contained in:
qq
2026-04-22 16:08:25 +08:00
parent c8a3b7a5ba
commit fd5bbf0c6c
6 changed files with 15 additions and 10 deletions
+2 -7
View File
@@ -158,14 +158,9 @@ let TaskInstallService = TaskInstallService_1 = class TaskInstallService {
const groupInfo = await im_help_1.IMHelp.getGroupInfo([app_env_1.AppEnv.IM_DEFAULT_GROUP_ID]);
if (groupInfo.GroupInfo?.length && groupInfo.GroupInfo[0].ErrorCode == 0) {
this.logger.verbose(`群租已存在:${groupInfo.GroupInfo[0].Name}`);
const res = await im_help_1.IMHelp.importGroupMember({
const res = await im_help_1.IMHelp.changeGroupOwner({
GroupId: app_env_1.AppEnv.IM_DEFAULT_GROUP_ID,
MemberList: [
{
Member_Account: imUid,
Role: 'Admin',
},
],
NewOwner_Account: imUid,
});
this.logger.verbose(res);
}
File diff suppressed because one or more lines are too long