From 794b04b89a0eb79c3f61626506374935729cd21d Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 14 Jun 2019 16:41:30 +0100 Subject: [PATCH] take the debugging out --- src/components/structures/MatrixChat.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index 4fc64b91bb..789649c220 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -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")) {