You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Don't refuse the soft logout page if the user is soft logged out
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user