diff --git a/internal/rpc/organization/organization.go b/internal/rpc/organization/organization.go index f1d4f49bd..1015e810c 100644 --- a/internal/rpc/organization/organization.go +++ b/internal/rpc/organization/organization.go @@ -106,11 +106,13 @@ func (s *organizationServer) CreateDepartment(ctx context.Context, req *rpc.Crea createGroupReq := &groupRpc.CreateGroupReq{ InitMemberList: nil, GroupInfo: &open_im_sdk.GroupInfo{ + Introduction: req.DepartmentInfo.Name, GroupName: req.DepartmentInfo.Name, FaceURL: req.DepartmentInfo.FaceURL, CreateTime: uint32(time.Now().Unix()), CreatorUserID: req.OpUserID, GroupType: constant.DepartmentGroup, + OwnerUserID: req.OpUserID, }, OperationID: req.OperationID, OpUserID: req.OpUserID,