Merge pull request #5756 from SimonBrandner/hangup-all-on-logout

Hangup all calls on logout
This commit is contained in:
Travis Ralston 2021-03-15 21:10:13 -06:00 committed by GitHub
commit 0e0ccfea88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View file

@ -582,6 +582,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
}
break;
case 'logout':
dis.dispatch({action: "hangup_all"});
Lifecycle.logout();
break;
case 'require_registration':