message: fixing photo name generating
diff: @@ -164,7 +164,7 @@ export class PhotoProcessing {
  const sizeStr = convertedPath.substring(
  convertedPath.lastIndexOf('_') + 1,
  - convertedPath.length - path.extname(convertedPath).length
  + convertedPath.lastIndexOf('q')
  );
  const size = parseInt(sizeStr, 10);
  @@ -177,6 +177,19 @@ export class PhotoProcessing {
  return false;
  }
  + const qualityStr = convertedPath.substring(
  + convertedPath.lastIndexOf('q') + 1,
  + convertedPath.length - path.extname(convertedPath).length
  + );
  +
  + const quality = parseInt(qualityStr, 10);
  +
  + if ((quality + '').length !== qualityStr.length ||
  + quality < 0 ||
  + quality > 100) {
  + return false;
  + }
  +
  try {
  await fsp.access(origFilePath, fsConstants.R_OK);
  } catch (e) {
  