feat(connect): Add logging before every connect.

This commit is contained in:
Hristo Terezov
2024-10-15 17:56:34 -05:00
parent 24ae69348b
commit b7eae6c0ca
8 changed files with 24 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ import {
authenticateAndUpgradeRole,
cancelLogin
} from '../../actions.web';
import logger from '../../logger';
/**
* The type of the React {@code Component} props of {@link LoginDialog}.
@@ -134,6 +135,7 @@ class LoginDialog extends Component<IProps, IState> {
if (conference) {
dispatch(authenticateAndUpgradeRole(jid, password, conference));
} else {
logger.info('Dispatching connect from LoginDialog.');
dispatch(connect(jid, password));
}
}