Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Extra check against me for lastTimeMemory

laurensprieme222d091d894
diff --git a/mobile/lib/services/smart_memories_service.dart b/mobile/lib/services/smart_memories_service.dart
index 9e97a402e7..b9ad1ca3dc 100644
--- a/mobile/lib/services/smart_memories_service.dart
+++ b/mobile/lib/services/smart_memories_service.dart
@@ -389,7 +389,7 @@ class SmartMemoriesService {
}
}
}
- if (longAgo && lastTimeYouSawThemFiles.length >= 5) {
+ if (longAgo && lastTimeYouSawThemFiles.length >= 5 && meID != personID) {
final String title = "Last time with $personName";
final lastTimeMemory = PeopleMemory(
lastTimeYouSawThemFiles