fix usersettings cancel fail on new accounts

pull/21833/head
Matthew Hodgson 2016-05-05 15:30:56 +01:00
parent 3cf12f8626
commit b86af8939a
1 changed files with 1 additions and 2 deletions

View File

@ -1036,8 +1036,7 @@ module.exports = React.createClass({
} }
else { else {
dis.dispatch({ dis.dispatch({
action: 'view_indexed_room', action: 'view_room_directory',
roomIndex: 0,
}); });
} }
}, },