v7.16.0
Added
- Soft deletion mode — New
DELETION_MODE(hard|soft, defaulthard) controls how Telegram deletions are handled, both for the real-time listener (LISTEN_DELETIONS=true) and the batch sync (SYNC_DELETIONS_EDITS=true).hardkeeps the legacy behavior (remove the archived message);softkeeps the original message and marks it deleted, showing adeletedlabel in the viewer (andedited deletedfor an edited-then-deleted message). Soft-deleted messages are retained in the archive — they stay counted in statistics and remain searchable. Addsmessages.is_deleted/messages.deleted_atvia Alembic migration014; reprocessing, gap-fill, and retries preserve the soft-delete marker, and the deletion write retries on a locked database. (#199)
Credits
- Thanks to @charys117 for contributing soft-deletion mode in #199.
📋 Full changelog: docs/CHANGELOG.md