aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/app.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/app.js3
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();