You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Remove unnecessary logout action
This commit is contained in:
@@ -586,7 +586,6 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||||||
break;
|
break;
|
||||||
case 'logout':
|
case 'logout':
|
||||||
dis.dispatch({action: "hangup_all"});
|
dis.dispatch({action: "hangup_all"});
|
||||||
dis.dispatch({action: "logout"});
|
|
||||||
Lifecycle.logout();
|
Lifecycle.logout();
|
||||||
break;
|
break;
|
||||||
case 'require_registration':
|
case 'require_registration':
|
||||||
|
|||||||
Reference in New Issue
Block a user