feat(appmsg): 支持引用消息原文解析 (#28)

* feat(appmsg): parse quoted message content

* docs(appmsg): document quote message output
This commit is contained in:
Haoqing Wang
2026-05-14 14:42:03 +08:00
committed by GitHub
parent 35a8f0e94b
commit b0431352ce
3 changed files with 317 additions and 28 deletions
+9
View File
@@ -158,6 +158,15 @@ wx search "会议" --in "工作群" --since 2026-01-01
群聊里的 `last_sender`、`sender` 和 `stats` 的 `top_senders` 会优先使用群昵称(群名片)。如果本地数据库里没有对应群昵称,则回退到联系人备注、微信昵称或 username。
引用消息会在 `history` / `search` / `new-messages` 输出中显示当前回复和被引用原文:
```text
[引用] 当前回复
↳ 发送者: 被引用内容
```
`--type link` / `--type file` 会包含微信 appmsg 里的链接、文件、合并聊天记录和引用消息等变体;搜索时也会匹配解压后可见的引用原文。
### 朋友圈(SNS)
三个独立命令,区分"通知"和"帖子":