From 041379fa3c07ca622e6e0b9ebe6c14a098253ec9 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Tue, 9 Jul 2019 23:44:14 -0600 Subject: [PATCH] Don't refuse the soft logout page if the user is soft logged 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 063276c309..db5b7d034b 100644 --- a/src/components/structures/MatrixChat.js +++ b/src/components/structures/MatrixChat.js @@ -1573,7 +1573,7 @@ export default React.createClass({ params: params, }); } else if (screen === 'soft_logout') { - if (MatrixClientPeg.get() && MatrixClientPeg.get().getUserId()) { + if (MatrixClientPeg.get() && MatrixClientPeg.get().getUserId() && !Lifecycle.isSoftLogout()) { // Logged in - visit a room this._viewLastRoom(); } else {