parent
d7513b43dc
commit
6dac3d122a
@ -14,7 +14,9 @@ socket.on("network", function(data) {
|
|||||||
network.channels.forEach(store.getters.initChannel);
|
network.channels.forEach(store.getters.initChannel);
|
||||||
|
|
||||||
store.commit("networks", [...store.state.networks, network]);
|
store.commit("networks", [...store.state.networks, network]);
|
||||||
switchToChannel(network.channels[0]);
|
|
||||||
|
// Open last channel specified in `join`
|
||||||
|
switchToChannel(network.channels[network.channels.length - 1]);
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on("network:options", function(data) {
|
socket.on("network:options", function(data) {
|
||||||
|
Loading…
Reference in New Issue
Block a user