Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Remove redundant sync diagnostic guard

Prateek Sunal234edc21be03
diff --git a/mobile/apps/photos/lib/services/sync/remote_sync_service.dart b/mobile/apps/photos/lib/services/sync/remote_sync_service.dart
index 6c3c34d9dc..d05485af30 100644
--- a/mobile/apps/photos/lib/services/sync/remote_sync_service.dart
+++ b/mobile/apps/photos/lib/services/sync/remote_sync_service.dart
@@ -488,7 +488,7 @@ class RemoteSyncService {
await _db.insertMultiple(newFilesToInsert);
final int missingFileRows =
isInternalUser ? postFilterCount - fileFoundForLocalIDs.length : 0;
- if (isInternalUser && missingFileRows > 0) {
+ if (missingFileRows > 0) {
final sample =
localIDsToSync.difference(fileFoundForLocalIDs).take(3);
_logger.internalWarning(