mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-25 08:21:41 +02:00
View /home on registered /w team
This commit is contained in:
parent
a5a43bcd93
commit
4ac769168a
@ -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…
x
Reference in New Issue
Block a user