Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix areFilesLivePhotoAssets check

Abhinav418a7922ab8e
diff --git a/apps/photos/src/services/upload/livePhotoService.ts b/apps/photos/src/services/upload/livePhotoService.ts
index dc501fa126..518a63055a 100644
--- a/apps/photos/src/services/upload/livePhotoService.ts
+++ b/apps/photos/src/services/upload/livePhotoService.ts
@@ -238,7 +238,7 @@ function areFilesLivePhotoAssets(
getFileExtensionWithDot(secondFileIdentifier.name)
);
secondFileNameWithoutSuffix = removePotentialLivePhotoSuffix(
- getFileNameWithoutExtension(firstFileIdentifier.name)
+ getFileNameWithoutExtension(secondFileIdentifier.name)
);
} else {
firstFileNameWithoutSuffix = removePotentialLivePhotoSuffix(