mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
We already know we're a guest here
This commit is contained in:
parent
40834d188e
commit
65865f879f
@ -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 New Issue
Block a user