diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-10 14:52:57 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-10 14:52:57 +0200 |
| commit | 3bad2b50187f55463588a2d4e74fa9df4beb35b8 (patch) | |
| tree | aa213c64c4ee7566dce34365e700434bbdf5fd43 /packages/meshbay-hub/src/meshbay_hub/static/app.js | |
| parent | be8b7fcff56a1104e7cd974cc0f506d90f1299a8 (diff) | |
| download | meshbay-3bad2b50187f55463588a2d4e74fa9df4beb35b8.tar.gz | |
feat(android): back the calendars up as an iCalendar file
A Calendar section sends every calendar the person can edit, as a dated .ics,
into <folder>/<account>-calendar once a day when it changed.
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 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/meshbay-hub/src/meshbay_hub/static/app.js b/packages/meshbay-hub/src/meshbay_hub/static/app.js index 41cc5f2..031e276 100644 --- a/packages/meshbay-hub/src/meshbay_hub/static/app.js +++ b/packages/meshbay-hub/src/meshbay_hub/static/app.js @@ -944,9 +944,10 @@ function App() { return () => { gone = true; if (stop) stop(); }; }, [syncAccount]); - // Contacts and messages backup (§9.13), the same way. + // Contacts, calendar and messages backup (§9.13), the same way. useEffect(() => { - if (!syncAccount || !(platform.contactSync.available || platform.messageSync.available)) { + if (!syncAccount || !(platform.contactSync.available || platform.calendarSync.available + || platform.messageSync.available)) { return undefined; } let stop = null; @@ -964,7 +965,7 @@ function App() { }, }); stop = m.stopPhoneSync; - }).catch((e) => console.warn('[MeshBay] contacts and messages backup did not load:', e.message)); + }).catch((e) => console.warn('[MeshBay] phone backups did not load:', e.message)); return () => { gone = true; if (stop) stop(); }; }, [syncAccount]); |