Skip to content

armgit / ente

Public Imported from GitHub
0

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

schedule birthday notifications for everyone

laurenspriem2eaa2d6ee22b
diff --git a/mobile/lib/services/smart_memories_service.dart b/mobile/lib/services/smart_memories_service.dart
index f523ecc48b..35d5e7e6a7 100644
--- a/mobile/lib/services/smart_memories_service.dart
+++ b/mobile/lib/services/smart_memories_service.dart
@@ -632,7 +632,7 @@ class SmartMemoriesService {
// Loop through the people and check if we should surface anything based on relevancy (bday, last met)
for (final personID in orderedImportantPersonsID) {
final personMemories = personToMemories[personID];
- if (personID == meID || personMemories == null) continue;
+ if (personMemories == null) continue;
final person = personIdToPerson[personID]!;
// Check if we should surface memory based on last met
@@ -646,8 +646,6 @@ class SmartMemoriesService {
if (daysSinceLastMet < 7 && daysSinceLastMet >= 0) {
memoryResults.add(lastMetMemory);
}
- // Don't surface birthday when person hasn't been seen in a while (could be passed away)
- continue;
}
// Check if we should surface memory based on birthday
@@ -705,7 +703,6 @@ class SmartMemoriesService {
),
);
}
- continue;
}
}
}