fix: QQ发送消息时剥离Markdown格式 — 防止**粗体**等标记泄露到聊天

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-05-31 12:35:29 +08:00
parent 3ad728406e
commit 465fa4307f
2 changed files with 4 additions and 3 deletions
+1
View File
@@ -358,6 +358,7 @@ func startQQReaders(router *bridge.PlatformRouter) {
var toSend []bridge.ResponseMessage
for _, rm := range response.Messages {
if rm.Content != "" {
rm.Content = qqadapter.ConvertMarkdownToQQ(rm.Content)
toSend = append(toSend, rm)
}
}