Skip to content

armgit / ente

Public Imported from GitHub
0

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

fixup! [mobile][photos] validate scheduled memory lane timelines

Priyanshu Dangare221ef84251b2
diff --git a/mobile/apps/photos/lib/services/memory_lane/memory_lane_service.dart b/mobile/apps/photos/lib/services/memory_lane/memory_lane_service.dart
index 2c3f4a628b..8e1c4a579f 100644
--- a/mobile/apps/photos/lib/services/memory_lane/memory_lane_service.dart
+++ b/mobile/apps/photos/lib/services/memory_lane/memory_lane_service.dart
@@ -428,6 +428,13 @@ class MemoryLaneService {
}
if (person.data.isIgnored) {
await _invalidateTimeline(person.remoteID);
+ for (final cluster
+ in person.data.assigned
+ .map((c) => c.id)
+ .followedBy(event.newClusterIDs ?? [])) {
+ if (!_topNClusters.contains(cluster)) continue;
+ await _invalidateTimeline(cluster);
+ }
return;
}
final logEntry = await _cacheService.getComputeLogEntry(person.remoteID);