From 929e9dc6533a8513f218060fdd4440a4c4d205a6 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 14 Jun 2019 16:04:09 +0100 Subject: [PATCH] Don't forget to show the homepage if no welcome user --- src/components/structures/MatrixChat.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/structures/MatrixChat.js b/src/components/structures/MatrixChat.js index aa579ea8f9..0b15b727ec 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1191,9 +1191,14 @@ export default React.createClass({ return; } } - // The user has just logged in after registering + // We didn't rediret to the welcome user room, so show + // the homepage. dis.dispatch({action: 'view_home_page'}); }); + } else { + // The user has just logged in after registering, + // so show the homepage. + dis.dispatch({action: 'view_home_page'}); } } else { this._showScreenAfterLogin();