Remove unnecessary logout action

This commit is contained in:
Germain Souquet 2021-04-20 08:51:14 +01:00
parent 33eebb84a6
commit a3617fa3cd

View File

@ -586,7 +586,6 @@ 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':