Felix Förtsch 01605a01ec fix FK constraint: skip duplicate messages before thread reconstruction
- insertMessages checks (mailboxId, uid) existence before INSERT, returns
  only actually inserted records
- syncMailbox only runs ThreadReconstructor on newly inserted messages,
  preventing FK violations from stale UUIDs referencing ignored records
- improve error logging to show full error description

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-15 12:02:55 +01:00
Description
No description provided
5.1 MiB
Languages
HTML 78%
Swift 13.5%
JavaScript 4.1%
Vim Script 1.8%
CSS 1.2%
Other 1.4%