π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
skip failes to debug user sync issue
laurenspriemc5b5241c62a4
diff --git a/mobile/apps/photos/lib/services/sync/diff_fetcher.dart b/mobile/apps/photos/lib/services/sync/diff_fetcher.dartindex 93db27d0bd..dbe2a3e646 100644--- a/mobile/apps/photos/lib/services/sync/diff_fetcher.dart+++ b/mobile/apps/photos/lib/services/sync/diff_fetcher.dart@@ -15,6 +15,16 @@ import "package:photos/services/collections_service.dart";import "package:photos/utils/dialog_util.dart";import "package:photos/utils/file_key.dart";+// Skip processing these fileIDs during diff for the given collection.+// Used to unblock a specific user whose sync is failing on these files.+const int _skipCollectionID = 1580559965692884;+const Set<int> _skipFileIDs = {+ 588219655,+ 588220428,+ 588220482,+ 588220590,+};+class DiffFetcher {final _logger = Logger("DiffFetcher");@@ -133,6 +143,14 @@ class DiffFetcher {file.collectionID = item["collectionID"];file.updationTime = item["updationTime"];latestUpdatedAtTime = max(latestUpdatedAtTime, file.updationTime!);+ if (_skipCollectionID == file.collectionID &&+ _skipFileIDs.contains(file.uploadedFileID)) {+ _logger.warning(+ '[Collection-$collectionID] skipping fileID '+ '${file.uploadedFileID}',+ );+ continue;+ }if (item["isDeleted"]) {if (existingUploadIDs.contains(file.uploadedFileID)) {deletedFiles.add(file);