ui: 不再为每个消息显示发送用户

* 合并显示, 但不完全
This commit is contained in:
CrescentLeaf
2025-11-30 00:32:08 +08:00
parent 0247eaeda9
commit a7c61d9306
2 changed files with 13 additions and 11 deletions

View File

@@ -469,6 +469,7 @@ export default function ChatFragment({ target, showReturnButton, onReturnButtonC
],
})
}} /></SystemMessage> : <Element_Message
noUserDisplay={lastUser == user && !shouldShowTime}
rawData={msg.text}
renderHTML={DOMPurify.sanitize(markedInstance.parse(msg.text) as string, sanitizeConfig)}
message={msg}