Files
MagnumOpus/Apps
Felix Förtsch 0433ed1f7e fix double sync race: remove duplicate syncNow calls, add sync guard
- connectAccount() and loadExistingAccount() no longer call syncNow() —
  the .task modifier on mailView handles initial sync + periodic sync
- add isSyncing guard to prevent concurrent syncNow() calls that race
  on the IMAP connection and cause "Previous command interrupted"
- reload mailboxes after each sync (needed on first sync when DB is empty)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 12:22:39 +01:00
..