Move isBouncer props to server state
Avoids having to pass this around.
This commit is contained in:
parent
f81c564d23
commit
f3d38859d3
5 changed files with 11 additions and 17 deletions
|
@ -570,7 +570,7 @@ export default class Buffer extends Component {
|
|||
if (buf.type == BufferType.SERVER) {
|
||||
children.push(html`<${NotificationNagger}/>`);
|
||||
}
|
||||
if (buf.type == BufferType.SERVER && this.props.isBouncer && !server.bouncerNetID) {
|
||||
if (buf.type == BufferType.SERVER && server.isBouncer && !server.bouncerNetID) {
|
||||
children.push(html`<${ProtocolHandlerNagger} bouncerName=${serverName}/>`);
|
||||
}
|
||||
if (buf.type == BufferType.SERVER && server.status == ServerStatus.REGISTERED && server.supportsSASLPlain && !server.account) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue