Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
[RN] Prepare for LoadingIndicator in LoginDialog
Lyubo Marinov70de9a683f35
diff --git a/react/features/authentication/actions.js b/react/features/authentication/actions.jsindex ef9f3effe3..c7320b55b6 100644--- a/react/features/authentication/actions.js+++ b/react/features/authentication/actions.js@@ -52,6 +52,8 @@ export function authenticateAndUpgradeRole(dispatch(_upgradeRoleFinished(error));});++ return process;};}diff --git a/react/features/authentication/components/LoginDialog.native.js b/react/features/authentication/components/LoginDialog.native.jsindex ee29454f20..cb25a01566 100644--- a/react/features/authentication/components/LoginDialog.native.js+++ b/react/features/authentication/components/LoginDialog.native.js@@ -216,18 +216,20 @@ class LoginDialog extends Component {* @returns {void}*/_onLogin() {- const { _conference: conference } = this.props;+ const { _conference: conference, dispatch } = this.props;const { username, password } = this.state;const jid = toJid(username, this.props._configHosts);+ let r;// If there's a conference it means that the connection has succeeded,// but authentication is required in order to join the room.if (conference) {- this.props.dispatch(- authenticateAndUpgradeRole(jid, password, conference));+ r = dispatch(authenticateAndUpgradeRole(jid, password, conference));} else {- this.props.dispatch(connect(jid, password));+ r = dispatch(connect(jid, password));}++ return r;}}diff --git a/react/features/base/connection/actions.native.js b/react/features/base/connection/actions.native.jsindex 8ce9d94ff3..28b2ba705c 100644--- a/react/features/base/connection/actions.native.js+++ b/react/features/base/connection/actions.native.js@@ -45,7 +45,7 @@ export function connect(id: ?string, password: ?string) {JitsiConnectionEvents.CONNECTION_FAILED,_onConnectionFailed);- connection.connect({+ return connection.connect({id,password});