feat: maybe more stable fake forwardMsg

This commit is contained in:
pk5ls20
2024-10-25 08:09:17 +08:00
parent 9d67a3b3c7
commit 4790e127d6
2 changed files with 30 additions and 9 deletions

View File

@@ -99,7 +99,7 @@ export class ForwardMsgBuilder {
senderName: msg.senderName,
isGroupMsg: msg.groupId !== undefined,
msg: msg.msg.map(m => ({
preview: m.toPreview(),
preview: m.valid? m.toPreview() : "[该消息类型暂不支持查看]",
}))
})));
}