π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Exclude family self
Manav Rathifec0b867feab
diff --git a/web/packages/new/photos/components/gallery/helpers.ts b/web/packages/new/photos/components/gallery/helpers.tsindex 311462464b..1df2bb4bc1 100644--- a/web/packages/new/photos/components/gallery/helpers.ts+++ b/web/packages/new/photos/components/gallery/helpers.ts@@ -56,9 +56,7 @@ export const constructEmailList = (if (!sharees?.length) {return [];}- const shareeEmails = item.sharees- .filter((sharee) => sharee.email !== user.email)- .map((sharee) => sharee.email);+ const shareeEmails = item.sharees.map((sharee) => sharee.email);return shareeEmails;}})@@ -69,5 +67,5 @@ export const constructEmailList = (const family = familyData.members.map((member) => member.email);emails.push(...family);}- return Array.from(new Set(emails));+ return Array.from(new Set(emails.filter((email) => email !== user.email)));};