Ignore BOUNCER NETWORK messages if we're already bound to a network

This commit is contained in:
Simon Ser 2021-05-25 17:11:06 +02:00
parent 9dba1b3736
commit 92535fae24

View file

@ -750,6 +750,12 @@ export default class App extends Component {
break; // We're only interested in network updates break; // We're only interested in network updates
} }
if (client.isupport.has("BOUNCER_NETID")) {
// This cn happen if the user has specified a network to bind
// to via other means, e.g. "<username>/<network>".
break;
}
var id = msg.params[1]; var id = msg.params[1];
var attrs = null; var attrs = null;
if (msg.params[2] !== "*") { if (msg.params[2] !== "*") {