You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Don't forget to show the homepage if no welcome user
This commit is contained in:
@@ -1191,9 +1191,14 @@ export default React.createClass({
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// The user has just logged in after registering
|
// We didn't rediret to the welcome user room, so show
|
||||||
|
// the homepage.
|
||||||
dis.dispatch({action: 'view_home_page'});
|
dis.dispatch({action: 'view_home_page'});
|
||||||
});
|
});
|
||||||
|
} else {
|
||||||
|
// The user has just logged in after registering,
|
||||||
|
// so show the homepage.
|
||||||
|
dis.dispatch({action: 'view_home_page'});
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this._showScreenAfterLogin();
|
this._showScreenAfterLogin();
|
||||||
|
|||||||
Reference in New Issue
Block a user