From 9e9206e690c78a05c70de4cb563c9211218da4f3 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 16 Sep 2020 10:21:52 +0300 Subject: [PATCH] Migration: add a note when migrating shared journals. --- src/MigrateV2.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/MigrateV2.tsx b/src/MigrateV2.tsx index d0b849f..cf95ea9 100644 --- a/src/MigrateV2.tsx +++ b/src/MigrateV2.tsx @@ -327,6 +327,8 @@ export function WizardMigrationPage(props: OurPagePropsType) { const journalEntries = useSelector((state: StoreState) => state.cache.entries); const derived = props.etesync.encryptionKey; + const me = props.etesync.credentials.email; + const decryptedJournals = React.useMemo(() => { return journals.map((journal) => { const userInfo = props.userInfo; @@ -365,6 +367,9 @@ export function WizardMigrationPage(props: OurPagePropsType) { checked={wantedJournals.has(journal.uid)} /> {info.displayName} + {((journal.owner !== me) && wantedJournals.has(journal.uid)) && ( + Migrating a shared collection will only copy its contents, and will not make it shared. Pleaes ask the collection owner to migrate it to EteSync 2.0 and share it with you instead. + )} );