mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Linkify topic
This commit is contained in:
parent
343455091c
commit
9312edc20e
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
import { html, Component } from "/lib/index.js";
|
||||
import linkify from "/lib/linkify.js";
|
||||
import { BufferType } from "/state.js";
|
||||
|
||||
const Status = {
|
||||
|
@ -28,7 +29,7 @@ export default function BufferHeader(props) {
|
|||
var serverInfo = props.buffer.serverInfo;
|
||||
description = `Connected to ${serverInfo.name}`;
|
||||
} else if (props.buffer.topic) {
|
||||
description = props.buffer.topic;
|
||||
description = linkify(props.buffer.topic);
|
||||
} else if (props.buffer.who) {
|
||||
var who = props.buffer.who;
|
||||
|
||||
|
|
Loading…
Reference in a new issue