diff --git a/components/buffer.js b/components/buffer.js index 4c640ca..eec6687 100644 --- a/components/buffer.js +++ b/components/buffer.js @@ -1,6 +1,7 @@ import { html, Component } from "/lib/index.js"; import linkify from "/lib/linkify.js"; import * as irc from "/lib/irc.js"; +import { BufferType } from "/state.js"; function djb2(s) { var hash = 5381; @@ -137,9 +138,14 @@ export default function Buffer(props) { return null; } + var notifNagger = null; + if (props.buffer.type == BufferType.SERVER) { + notifNagger = html`<${NotificationNagger}/>`; + } + return html`