Select channel when joining through UI
This commit is contained in:
parent
ca23b3ded8
commit
b9f52a8761
7 changed files with 81 additions and 73 deletions
|
@ -235,11 +235,12 @@ export default createReducer(
|
|||
}
|
||||
);
|
||||
|
||||
export function join(channels, network) {
|
||||
export function join(channels, network, selectFirst = true) {
|
||||
return {
|
||||
type: actions.JOIN,
|
||||
channels,
|
||||
network,
|
||||
selectFirst,
|
||||
socket: {
|
||||
type: 'join',
|
||||
data: { channels, network }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue