mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
When encryption was enabled, forceUploadLocalState (triggered by "Use local" in conflict dialog) caused double-encryption: the upload service encrypted the state payload, then the file adapter encrypted the entire file. On download, only the outer layer was decrypted, leaving the state as an opaque string that couldn't be hydrated — making "Use remote" silently fail and forcing a ping-pong loop between clients. Fix: _uploadSnapshot now uses getStateSnapshot() (matching _buildMergedSyncData) instead of the passed state parameter, since file-level encryption already handles security. Also: clean up dead return values in _buildMergedSyncData, reset _lastSyncTimestamps in _uploadSnapshot for consistency, and update stale piggybacking doc reference. |
||
|---|---|---|
| .. | ||
| long-term-plans | ||
| promotion | ||
| research | ||
| screens | ||
| sync-and-op-log | ||
| wiki | ||
| add-new-integration.md | ||
| build-and-publish-notes.md | ||
| ENV_SETUP.md | ||
| github-access-token-instructions.md | ||
| gitlab-access-token-instructions.md | ||
| how-to-rate.md | ||
| howto-refresh-snap-credentials.md | ||
| i18n-script-usage.md | ||
| legacy-webview-analysis.md | ||
| mac-app-store-code-signing-guide.md | ||
| performance-project-tag-report.md | ||
| plugin-development.md | ||
| TRANSLATING.md | ||
| unused-translations-analysis.md | ||
| update-android-app.md | ||
| update-mac-certificates.md | ||