diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-10 14:21:46 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-10 14:21:46 +0200 |
| commit | 2f2a9a6542d2194e50ffba6f382e4fdffd481838 (patch) | |
| tree | 5437330f9e8b963f8af0904f3c5d80d1afc6dc3b /packages/meshbay-hub/src/meshbay_hub/static/app.js | |
| parent | 914d2f0af848fb80d70d517901f44420a4e47764 (diff) | |
| download | meshbay-2f2a9a6542d2194e50ffba6f382e4fdffd481838.tar.gz | |
feat(android): one backup destination, a group the account owns alone
Chosen once at the top of Android Sync for every kind; photos and contacts
go into <folder>/<account>-photos and -contacts. Owner and sole member are
checked at set-up and before every run.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/app.js')
| -rw-r--r-- | packages/meshbay-hub/src/meshbay_hub/static/app.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/app.js b/packages/meshbay-hub/src/meshbay_hub/static/app.js index 72c52ac..12b48a7 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/app.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/app.js @@ -717,7 +717,7 @@ const SearchPage = lazy(() => import('./search-page.js'), 'SearchPage', // // The Android application's backups of its photos, contacts and messages // (docs/MESHBAY_DESIGN.md §9.12, §9.13): no browser or desktop ever fetches it. -const PHONE_SYNC = platform.photoSync.available || platform.contactSync.available; +const PHONE_SYNC = platform.phoneSync.available; const AndroidSyncPage = lazy(() => import('./android-sync-page.js'), 'AndroidSyncPage', html`<div class="page-content"><p class="page-message"><span class="spinner"></span></p></div>`); @@ -931,6 +931,7 @@ function App() { if (gone) return; m.startPhotoSync({ hub: HUB, + hubFetch, getUser: () => userRef.current, getBundleKey: async () => { const key = session.bundleKey || await _loadBundleKey(); |