Implement leave room button and URL preview settings

This commit is contained in:
Travis Ralston 2019-01-28 13:52:59 -07:00
parent 87e6652b2a
commit db34666583
4 changed files with 53 additions and 27 deletions

View file

@ -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();