diff --git a/src/controllers/pages/MatrixChat.js b/src/controllers/pages/MatrixChat.js index fb2a4e63..15dddd00 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'}); });