Display messages with a highlight differently

This commit is contained in:
Simon Ser
2020-08-13 11:58:36 +02:00
parent 917b348992
commit 9cc44fbe98
3 changed files with 11 additions and 1 deletions
+4
View File
@@ -70,6 +70,10 @@ class LogLine extends Component {
lineClass = "talk";
content = html`${"<"}${createNick(msg.prefix.name)}${">"} ${linkify(stripANSI(text))}`;
}
if (msg.isHighlight) {
lineClass += " highlight";
}
break;
case "JOIN":
content = html`