fix: 公屏消息中'大家'不可点击的问题
This commit is contained in:
@@ -272,9 +272,10 @@ export function appendMessage(msg, renderBatch = null) {
|
||||
html = `${headImg}${verbStr}<span class="msg-content${textColorClass}" style="color: ${fontColor}">${messageBodyHtml}</span>`;
|
||||
} else {
|
||||
const fromHtml = clickableUser(msg.from_user, "#000099", nameClass);
|
||||
const everyoneHtml = clickableUser("大家", "#000099");
|
||||
const verbStr = msg.action ?
|
||||
buildActionStr(msg.action, fromHtml, "大家") :
|
||||
`${fromHtml}对大家说:`;
|
||||
buildActionStr(msg.action, fromHtml, everyoneHtml) :
|
||||
`${fromHtml}对${everyoneHtml}说:`;
|
||||
html = `${headImg}${verbStr}<span class="msg-content${textColorClass}" style="color: ${fontColor}">${messageBodyHtml}</span>`;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user