Use the current HS for guest login
Make sure that we use the homeserver from localstorage for guest regsistration, in preference to the default. Also rename the parameters for loadSession
This commit is contained in:
parent
5b9d395234
commit
1fbddcf6af
2 changed files with 10 additions and 10 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue