You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-12 12:41:46 +03:00
Don't redirect to registration on 3pid invite: it's ok to be a guest now.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user