mirror of https://github.com/vector-im/riot-web
Add TODO on post register logic
parent
eaafc11064
commit
e700a5a219
|
@ -86,7 +86,6 @@ module.exports = React.createClass({
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// TODO: do post-register stuff
|
|
||||||
self.props.onLoggedIn({
|
self.props.onLoggedIn({
|
||||||
userId: response.user_id,
|
userId: response.user_id,
|
||||||
homeserverUrl: self.props.registerLogic.getHomeserverUrl(),
|
homeserverUrl: self.props.registerLogic.getHomeserverUrl(),
|
||||||
|
@ -129,7 +128,10 @@ module.exports = React.createClass({
|
||||||
this.props.registerLogic.tellStage("m.login.recaptcha", "loaded");
|
this.props.registerLogic.tellStage("m.login.recaptcha", "loaded");
|
||||||
},
|
},
|
||||||
|
|
||||||
// TODO: I wonder if this should actually be a different component...
|
// TODO:
|
||||||
|
// This should really be a different component which MatrixChat then
|
||||||
|
// instantiates rather than having it pollute registration logic. There is
|
||||||
|
// no reason to wedge them together here. This function is currently NOT CALLED.
|
||||||
_getPostRegisterJsx: function() {
|
_getPostRegisterJsx: function() {
|
||||||
var ChangeDisplayName = sdk.getComponent('molecules.ChangeDisplayName');
|
var ChangeDisplayName = sdk.getComponent('molecules.ChangeDisplayName');
|
||||||
var ChangeAvatar = sdk.getComponent('molecules.ChangeAvatar');
|
var ChangeAvatar = sdk.getComponent('molecules.ChangeAvatar');
|
||||||
|
|
Loading…
Reference in New Issue