Linkify error messages
Sometimes servers will put links and channels in their error messages. Make it easy for users to click them.
This commit is contained in:
@@ -230,7 +230,7 @@ class LogLine extends Component {
|
||||
if (irc.isError(msg.command) && msg.command != irc.ERR_NOMOTD) {
|
||||
lineClass = "error";
|
||||
}
|
||||
content = html`${msg.command} ${msg.params.join(" ")}`;
|
||||
content = html`${msg.command} ${linkify(msg.params.join(" "))}`;
|
||||
}
|
||||
|
||||
return html`
|
||||
|
||||
Reference in New Issue
Block a user