take the debugging out

pull/21833/head
David Baker 2019-06-14 16:41:30 +01:00
parent 30726d6cf9
commit 794b04b89a
1 changed files with 1 additions and 1 deletions

View File

@ -1192,7 +1192,7 @@ export default React.createClass({
*/
_onLoggedIn: async function() {
this.setStateForNewView({ view: VIEWS.LOGGED_IN });
if (true || MatrixClientPeg.currentUserIsJustRegistered()) {
if (MatrixClientPeg.currentUserIsJustRegistered()) {
MatrixClientPeg.setJustRegisteredUserId(null);
if (this.props.config.welcomeUserId && getCurrentLanguage().startsWith("en")) {