1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

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