Add autoconnect to config.json
This commit is contained in:
parent
312a3f812e
commit
47b12cc5d9
2 changed files with 6 additions and 0 deletions
|
@ -201,6 +201,9 @@ export default class App extends Component {
|
|||
} else if (typeof config.server.autojoin === "string") {
|
||||
connectParams.autojoin = [config.server.autojoin];
|
||||
}
|
||||
if (typeof config.server.autoconnect === "boolean") {
|
||||
connectParams.autoconnect = config.server.autoconnect;
|
||||
}
|
||||
}
|
||||
|
||||
let autoconnect = store.autoconnect.load();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue