mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 14:05:04 +08:00
Don't refuse the soft logout page if the user is soft logged out
This commit is contained in:
parent
1eb60ef1c4
commit
041379fa3c
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user