mirror of
https://github.com/element-hq/element-web.git
synced 2024-11-30 23:31:28 +03:00
View /home on registered /w team
This commit is contained in:
parent
a5a43bcd93
commit
4ac769168a
1 changed files with 3 additions and 0 deletions
|
@ -227,6 +227,9 @@ module.exports = React.createClass({
|
|||
const teamToken = data.team_token;
|
||||
// Store for use /w welcome pages
|
||||
window.localStorage.setItem('mx_team_token', teamToken);
|
||||
// Set the team token and view homepage
|
||||
window.matrixChat._teamToken = teamToken;
|
||||
window.mxDispatcher.dispatch({action: 'view_home_page'});
|
||||
|
||||
self._rtsClient.getTeam(teamToken).then((team) => {
|
||||
console.log(
|
||||
|
|
Loading…
Reference in a new issue