Discord history import is now fully idempotent. Previously, importing overlapping exports (e.g. two people exporting the same server at different times) would produce duplicate messages and duplicate channels. Now the importer handles all of this automatically.
Added
- Idempotent Discord import. Each imported message now stores its original Discord snowflake ID. Re-importing the same export, or importing a second overlapping export, skips messages that already exist rather than inserting them again. Native Haven messages are completely unaffected — the deduplication only touches imported messages.
- Channel reuse on re-import. Imported channels now store their Discord channel ID. If you import a second export that contains the same Discord channel, the new messages are appended to the existing Haven channel instead of creating a second duplicate channel.
- Import result details. The success message after import now reports how many duplicate messages were skipped and how many existing channels were updated, in addition to the usual channel/message counts.