Remove unnecessary logout action

pull/21833/head
Germain Souquet 2021-04-20 08:51:14 +01:00
parent 33eebb84a6
commit a3617fa3cd
1 changed files with 0 additions and 1 deletions

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':