Linkify channel names

This commit is contained in:
Tom Lebreux 2021-05-31 22:39:35 -04:00 committed by Simon Ser
parent 9affdb894f
commit 0bcd044f10
4 changed files with 62 additions and 8 deletions

View file

@ -114,7 +114,7 @@ export default function BufferHeader(props) {
break;
case BufferType.CHANNEL:
if (props.buffer.topic) {
description = linkify(stripANSI(props.buffer.topic));
description = linkify(stripANSI(props.buffer.topic), props.onChannelClick);
}
actions = html`
<button