Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Show full email in social titles

ashilkn42ee700693b5
diff --git a/mobile/apps/photos/lib/services/social_notification_coordinator.dart b/mobile/apps/photos/lib/services/social_notification_coordinator.dart
index a4f377186e..a79935519e 100644
--- a/mobile/apps/photos/lib/services/social_notification_coordinator.dart
+++ b/mobile/apps/photos/lib/services/social_notification_coordinator.dart
@@ -369,7 +369,7 @@ class SocialNotificationCoordinator {
}
final user =
_collectionsService.getFileOwner(userID, candidate.collectionID);
- return user.nameOrEmail;
+ return user.displayName ?? user.email;
}
String _getSocialNotificationBody(