Make room changing work
This commit is contained in:
parent
125fa78bc6
commit
0b0e6adce3
2 changed files with 11 additions and 0 deletions
|
@ -39,6 +39,11 @@ module.exports = React.createClass({
|
|||
ready: false
|
||||
});
|
||||
break;
|
||||
case 'view_room':
|
||||
this.setState({
|
||||
currentRoom: payload.room_id
|
||||
});
|
||||
break;
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue