From a20b4d2d2cebb00a3ea7d485d5dcb4a052427a82 Mon Sep 17 00:00:00 2001 From: David Baker Date: Tue, 11 Aug 2015 17:24:12 +0100 Subject: [PATCH] If we have a current room on load, we should display it! --- src/controllers/pages/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/pages/MatrixChat.js b/src/controllers/pages/MatrixChat.js index fb2a4e6361..15dddd0005 100644 --- a/src/controllers/pages/MatrixChat.js +++ b/src/controllers/pages/MatrixChat.js @@ -212,7 +212,7 @@ module.exports = { self.setState({ready: true, page_type: self.PageTypes.RoomDirectory}); } } else { - self.setState({ready: true, page_type: self.PageTypes.RoomDirectory}); + self.setState({ready: true, currentRoom: self.state.currentRoom}); } dis.dispatch({action: 'focus_composer'}); });