1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

take the debugging out

This commit is contained in:
David Baker
2019-06-14 16:41:30 +01:00
parent 30726d6cf9
commit 794b04b89a

View File

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