Ensure PersistedElement are unmounted on application logout
This commit is contained in:
parent
2d1615e433
commit
33eebb84a6
2 changed files with 3 additions and 0 deletions
|
@ -586,6 +586,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
break;
|
||||
case 'logout':
|
||||
dis.dispatch({action: "hangup_all"});
|
||||
dis.dispatch({action: "logout"});
|
||||
Lifecycle.logout();
|
||||
break;
|
||||
case 'require_registration':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue