diff --git a/components/buffer.js b/components/buffer.js
index 9c8096a..e661a1b 100644
--- a/components/buffer.js
+++ b/components/buffer.js
@@ -446,11 +446,12 @@ class ProtocolHandlerNagger extends Component {
if (!navigator.registerProtocolHandler || !this.state.nag) {
return null;
}
+ let name = this.props.bouncerName || "this bouncer";
return html`
`;
}
@@ -504,7 +505,8 @@ export default class Buffer extends Component {
children.push(html`<${NotificationNagger}/>`);
}
if (buf.type == BufferType.SERVER && this.props.isBouncer && !server.isupport.has("BOUNCER_NETID")) {
- children.push(html`<${ProtocolHandlerNagger}/>`);
+ let name = server.isupport.get("NETWORK");
+ children.push(html`<${ProtocolHandlerNagger} bouncerName=${name}/>`);
}
let onChannelClick = this.props.onChannelClick;