fix usersettings cancel fail on new accounts

This commit is contained in:
Matthew Hodgson 2016-05-05 15:30:56 +01:00
parent 3cf12f8626
commit b86af8939a

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,
}); });
} }
}, },