Don't refuse the soft logout page if the user is soft logged out

pull/21833/head
Travis Ralston 2019-07-09 23:44:14 -06:00
parent 1eb60ef1c4
commit 041379fa3c
1 changed files with 1 additions and 1 deletions

View File

@ -1573,7 +1573,7 @@ export default React.createClass({
params: params, params: params,
}); });
} else if (screen === 'soft_logout') { } else if (screen === 'soft_logout') {
if (MatrixClientPeg.get() && MatrixClientPeg.get().getUserId()) { if (MatrixClientPeg.get() && MatrixClientPeg.get().getUserId() && !Lifecycle.isSoftLogout()) {
// Logged in - visit a room // Logged in - visit a room
this._viewLastRoom(); this._viewLastRoom();
} else { } else {