Merge pull request #676 from matrix-org/luke/rts-team-token-login
Get team_token from the RTS on login
This commit is contained in:
commit
fe17e2452b
3 changed files with 40 additions and 0 deletions
|
@ -215,6 +215,12 @@ module.exports = React.createClass({
|
|||
window.addEventListener('resize', this.handleResize);
|
||||
this.handleResize();
|
||||
|
||||
if (this.props.config.teamServerConfig &&
|
||||
this.props.config.teamServerConfig.teamServerURL
|
||||
) {
|
||||
Lifecycle.initRtsClient(this.props.config.teamServerConfig.teamServerURL);
|
||||
}
|
||||
|
||||
// the extra q() ensures that synchronous exceptions hit the same codepath as
|
||||
// asynchronous ones.
|
||||
q().then(() => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue