mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
Don't redirect to registration on 3pid invite: it's ok to be a guest now.
This commit is contained in:
parent
f1dd3d381a
commit
e2bafcbf02
1 changed files with 0 additions and 7 deletions
|
@ -676,13 +676,6 @@ module.exports = React.createClass({
|
|||
action: 'start_post_registration',
|
||||
});
|
||||
} else if (screen.indexOf('room/') == 0) {
|
||||
if (!this.state.logged_in && this.props.startingQueryParams.email) {
|
||||
console.log("Redirecting to email registration");
|
||||
this.showScreen("register");
|
||||
this.notifyNewScreen('register'); // this doesn't call showScreen, just updates the hash
|
||||
return;
|
||||
}
|
||||
|
||||
var segments = screen.substring(5).split('/');
|
||||
var roomString = segments[0];
|
||||
var eventId = segments[1]; // undefined if no event id given
|
||||
|
|
Loading…
Reference in a new issue