提交小程序合入代码

This commit is contained in:
HycJack
2026-05-09 16:50:42 +08:00
parent 83bb79a8d0
commit a7f3b4f8dd
19 changed files with 1762 additions and 30 deletions

View File

@@ -211,10 +211,7 @@ function formatImPreview(
): string {
if (item.content_type === 1) return item.content_text || '文本消息'
if (item.content_type === 2) {
if (item.ext_json?.message_kind === 'leave_message') {
return item.media_transcript_text || '[留言]'
}
return item.media_transcript_text || '[语音]'
return ''
}
if (item.content_type === 3) return '[图片]'
if (item.content_type === 4) {