π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Update method name
vishnukvmde6c5bf0bbee1
diff --git a/lib/services/semantic_search/semantic_search_service.dart b/lib/services/semantic_search/semantic_search_service.dartindex f339e25212..b59c06ccac 100644--- a/lib/services/semantic_search/semantic_search_service.dart+++ b/lib/services/semantic_search/semantic_search_service.dart@@ -210,7 +210,7 @@ class SemanticSearchService {return;}try {- final filePath = (await getThumbnailFile(file))!.path;+ final filePath = (await getThumbnailForUploadedFile(file))!.path;_logger.info("Running clip over $file");final startTime = DateTime.now();final result = await _computer.compute(diff --git a/lib/utils/thumbnail_util.dart b/lib/utils/thumbnail_util.dartindex 393e62aab2..9af79a835c 100644--- a/lib/utils/thumbnail_util.dart+++ b/lib/utils/thumbnail_util.dart@@ -42,7 +42,9 @@ Future<Uint8List?> getThumbnail(EnteFile file) async {}}-Future<File?> getThumbnailFile(EnteFile file) async {+// Note: This method should only be called for files that have been uploaded+// since cachedThumbnailPath depends on the file's uploadedID+Future<File?> getThumbnailForUploadedFile(EnteFile file) async {final thumbnail = await getThumbnail(file);if (thumbnail != null) {final cachedThumbnail = cachedThumbnailPath(file);