aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js')
-rw-r--r--packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js b/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
index 631be50..9fac9e4 100644
--- a/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
+++ b/packages/meshbay-hub/src/meshbay_hub/static/android-sync-page.js
@@ -44,11 +44,13 @@ export function AndroidSyncPage({ user, groups }) {
const moved = (next) => {
setDest(next);
- // Each kind that is on starts again in the new place, now.
- if (platform.photoSync.available) runPhotoSync();
- for (const kind of Object.keys(KINDS)) if (KINDS[kind].sync.available) runDocSync(kind);
- if (platform.driveSync.available) runDriveSync();
- if (platform.whatsappSync.available) runWhatsAppSync();
+ // Each kind that is on starts again in the new place, now: forced, as a
+ // run asked for by a change, not left to the 15-minute retry spacing.
+ const now = { force: true };
+ if (platform.photoSync.available) runPhotoSync(now);
+ for (const kind of Object.keys(KINDS)) if (KINDS[kind].sync.available) runDocSync(kind, now);
+ if (platform.driveSync.available) runDriveSync(now);
+ if (platform.whatsappSync.available) runWhatsAppSync(now);
};
return html`