You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix font not resetting when logging out (#8670)
* Fix font not resetting when logging out * Adopt on_logged_in and on_logged_out into DispatcherAction * Add tests * Add copyright
This commit is contained in:
committed by
GitHub
parent
f3b762c1a8
commit
d75e2f19c5
@@ -743,7 +743,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
case Action.OpenDialPad:
|
||||
Modal.createTrackedDialog('Dial pad', '', DialPadModal, {}, "mx_Dialog_dialPadWrapper");
|
||||
break;
|
||||
case 'on_logged_in':
|
||||
case Action.OnLoggedIn:
|
||||
if (
|
||||
// Skip this handling for token login as that always calls onLoggedIn itself
|
||||
!this.tokenLogin &&
|
||||
@@ -759,7 +759,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
case 'on_client_not_viable':
|
||||
this.onSoftLogout();
|
||||
break;
|
||||
case 'on_logged_out':
|
||||
case Action.OnLoggedOut:
|
||||
this.onLoggedOut();
|
||||
break;
|
||||
case 'will_start_client':
|
||||
|
||||
Reference in New Issue
Block a user