|
@@ -1977,10 +1977,10 @@ public class ImGroupServiceImpl extends BaseServiceImpl<String, ImGroup> impleme
|
|
|
imGroupMemberService.update(admin);
|
|
|
// 调用IM接口
|
|
|
try {
|
|
|
- //设置成管理员
|
|
|
- imPluginContext.getPluginService().groupAdminCreate(admin.getImGroupId(),admin.getUserId().toString());
|
|
|
//设置成群主
|
|
|
imPluginContext.getPluginService().changeGroupOwner(groupTransferOwner.getImGroupId(), groupTransferOwner.getUserId(),groupTransferOwner.getCurrentOwner());
|
|
|
+ //设置成管理员
|
|
|
+ imPluginContext.getPluginService().groupAdminCreate(admin.getImGroupId(),admin.getUserId().toString());
|
|
|
} catch (Exception e) {
|
|
|
log.error("转让群主失败", e);
|
|
|
throw new BizException("转让群主失败");
|