Implement leave room button and URL preview settings
This commit is contained in:
parent
87e6652b2a
commit
db34666583
4 changed files with 53 additions and 27 deletions
|
@ -1054,6 +1054,7 @@ export default React.createClass({
|
|||
modal.close();
|
||||
if (this.state.currentRoomId === roomId) {
|
||||
dis.dispatch({action: 'view_next_room'});
|
||||
dis.dispatch({action: 'close_room_settings'});
|
||||
}
|
||||
}, (err) => {
|
||||
modal.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue