1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Merge pull request #405 from matrix-org/rav/use_right_hs_for_guest_login

Use the current HS for guest login
This commit is contained in:
David Baker
2016-08-11 10:32:37 +01:00
committed by GitHub
2 changed files with 10 additions and 10 deletions

View File

@@ -173,8 +173,8 @@ module.exports = React.createClass({
Lifecycle.loadSession({
queryParams: this.props.startingQueryParams,
enableGuest: this.props.enableGuest,
hsUrl: this.getDefaultHsUrl(),
isUrl: this.getDefaultIsUrl(),
guestHsUrl: this.getCurrentHsUrl(),
guestIsUrl: this.getCurrentIsUrl(),
}).done(()=>{
// stuff this through the dispatcher so that it happens
// after the on_logged_in action.