If we have a current room on load, we should display it!

This commit is contained in:
David Baker 2015-08-11 17:24:12 +01:00
parent be5aaeaad7
commit a20b4d2d2c

View file

@ -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'});
});