From b86af8939a78b44509cbd58b0e8f6bd5cb058a0e Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 5 May 2016 15:30:56 +0100 Subject: [PATCH] fix usersettings cancel fail on new accounts --- src/components/structures/MatrixChat.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index fca688ee15..08b7866b1c 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1036,8 +1036,7 @@ module.exports = React.createClass({ } else { dis.dispatch({ - action: 'view_indexed_room', - roomIndex: 0, + action: 'view_room_directory', }); } },