Hangup all calls on logout

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-03-12 13:55:14 +01:00
parent 7c8c85161d
commit 02051a39ff
No known key found for this signature in database
GPG key ID: 9760693FDD98A790
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':