mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-12-01 09:15:41 +08:00
feat: 档案和导出页面支持查看多选消息
This commit is contained in:
1 parent
2fb519a373
commit
b86582e606
19 files changed
+1897
-152
No files matched your search
@@ -1,6 +1,7 @@
|
||||
import { createHash, randomUUID } from 'node:crypto'
|
||||
import { WechatDb, WechatMessage } from '../wechat-db'
|
||||
import {
|
||||
attachForwardBundleRecordDir,
|
||||
parseImageBufferDataUrlFromRow,
|
||||
parseImageDatNameFromRow,
|
||||
parseMessageContent,
|
||||
@@ -613,6 +614,9 @@ function listSourceMessages(
|
||||
thumbDatName: parsed.thumbDatName || parseImageDatNameFromRow(msg),
|
||||
thumbDataUrl: parsed.thumbDataUrl || parseImageBufferDataUrlFromRow(msg.raw || msg)
|
||||
}
|
||||
} else if (parsed.type === 'forwardBundle') {
|
||||
const recordDir = parseImageDatNameFromRow(msg.raw || msg)
|
||||
contentData = attachForwardBundleRecordDir(parsed, recordDir)
|
||||
} else if (parsed.type !== 'system') {
|
||||
if (parsed.type === 'sticker' && !parsed.url && parsed.md5) {
|
||||
parsed.url = wcdb4Client.resolveEmoticonCdnUrl(parsed.md5)
|
||||
|
||||
Reference in new issue
Block a user