We already know we're a guest here
This commit is contained in:
parent
40834d188e
commit
65865f879f
1 changed files with 1 additions and 3 deletions
|
@ -305,9 +305,7 @@ module.exports = React.createClass({
|
|||
break;
|
||||
case 'start_upgrade_registration':
|
||||
// stash our guest creds so we can backout if needed
|
||||
if (MatrixClientPeg.get().isGuest()) {
|
||||
this.guestCreds = MatrixClientPeg.getCredentials();
|
||||
}
|
||||
this.guestCreds = MatrixClientPeg.getCredentials();
|
||||
this.replaceState({
|
||||
screen: "register",
|
||||
upgradeUsername: MatrixClientPeg.get().getUserIdLocalpart(),
|
||||
|
|
Loading…
Reference in a new issue