Add TODO on post register logic

This commit is contained in:
Kegan Dougal 2015-11-19 13:58:52 +00:00
parent eaafc11064
commit e700a5a219

View File

@ -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');