feat: 修复导出任务状态并优化聊天记录导出体验

This commit is contained in:
电摇小子 committed 2026-07-27 22:06:08 +08:00
1 parent 0084b92703
commit 306c7d99c2
19 files changed
+727 -94

No files matched your search

@@ -408,6 +408,9 @@ export class RecallArchiveMonitor {
}
handleDatabaseChange(payload: string): void {
// Ordinary message inserts are already visible in the main reader. The
// archive scan is only needed when the native event indicates a recall.
if (!/(recall|revoke|revokemsg|撤回)/i.test(String(payload || ''))) return
const groups = this.conversationContacts()
const knownMd5 = new Set(groups.map((contact) => contact.md5.toLowerCase()))
const payloadTargets = extractChangedConversationMd5(payload).filter((md5) => knownMd5.has(md5))