mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Fix ReferenceError when adding new bouncer network
Fixes the following: ReferenceError: can't access lexical declaration 'client' before initialization handleNetworkSubmit app.js:1868
This commit is contained in:
parent
5e33919cce
commit
06f7cf9565
1 changed files with 2 additions and 2 deletions
|
@ -1873,8 +1873,8 @@ export default class App extends Component {
|
|||
// By this point, bouncer-networks-notify should've advertised
|
||||
// the new network
|
||||
let serverID = this.serverFromBouncerNetwork(id);
|
||||
let client = this.clients.get(serverID);
|
||||
client.params.autojoin = [autojoin];
|
||||
let newClient = this.clients.get(serverID);
|
||||
newClient.params.autojoin = [autojoin];
|
||||
|
||||
this.switchToChannel = autojoin;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue