π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Skip unchanged face cluster assignments
laurenspriem45120a6f7e02
diff --git a/mobile/apps/photos/lib/db/ml/dart_db.dart b/mobile/apps/photos/lib/db/ml/dart_db.dartindex ee8307ca2b..c84fa0e9f7 100644--- a/mobile/apps/photos/lib/db/ml/dart_db.dart+++ b/mobile/apps/photos/lib/db/ml/dart_db.dart@@ -183,6 +183,7 @@ class DartMLDataDBINSERT INTO $faceClustersTable ($faceIDColumn, $clusterIDColumn)VALUES (?, ?)ON CONFLICT($faceIDColumn) DO UPDATE SET $clusterIDColumn = excluded.$clusterIDColumn+ WHERE $faceClustersTable.$clusterIDColumn IS NOT excluded.$clusterIDColumn''';final parameterSets = batch.map((e) => [e.key, e.value]).toList();