Introduce state.networks

This commit is contained in:
Simon Ser 2021-01-21 19:01:50 +01:00
parent 218b131608
commit 5a1e6ba813
2 changed files with 73 additions and 36 deletions

View file

@ -89,9 +89,9 @@ export default {
app.client.send({ command: "TOPIC", params });
},
"reconnect": (app, args) => {
app.reconnect();
app.reconnect(app.state.activeNetwork);
},
"disconnect": (app, args) => {
app.disconnect();
app.disconnect(app.state.activeNetwork);
},
};