Use mx_team_token
instead of config
This commit is contained in:
parent
acde1f3db7
commit
8c941b11cd
2 changed files with 2 additions and 2 deletions
|
@ -694,7 +694,7 @@ module.exports = React.createClass({
|
|||
)[0].roomId;
|
||||
self.setState({ready: true, currentRoomId: firstRoom, page_type: PageTypes.RoomView});
|
||||
} else {
|
||||
if (self.props.config.home_page) {
|
||||
if (window.localStorage.getItem('mx_team_token')) {
|
||||
self.setState({ready: true, page_type: PageTypes.HomePage});
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue