This commit is contained in:
qq
2026-04-22 16:12:42 +08:00
parent 6d83c4af19
commit cf575935cb
3 changed files with 2 additions and 7 deletions
-5
View File
@@ -158,11 +158,6 @@ let TaskInstallService = TaskInstallService_1 = class TaskInstallService {
const groupInfo = await im_help_1.IMHelp.getGroupInfo([app_env_1.AppEnv.IM_DEFAULT_GROUP_ID]); 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) { if (groupInfo.GroupInfo?.length && groupInfo.GroupInfo[0].ErrorCode == 0) {
this.logger.verbose(`群租已存在:${groupInfo.GroupInfo[0].Name}`); this.logger.verbose(`群租已存在:${groupInfo.GroupInfo[0].Name}`);
const res = await im_help_1.IMHelp.changeGroupOwner({
GroupId: app_env_1.AppEnv.IM_DEFAULT_GROUP_ID,
NewOwner_Account: imUid,
});
this.logger.verbose(res);
} }
else { else {
const res = await im_help_1.IMHelp.createGroup({ const res = await im_help_1.IMHelp.createGroup({
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long