fix(auth) simplify auth-and-upgrade procedure

It's not necessary to perform a full join, sending a conference IQ is
enough.
pull/11728/head jitsi-meet_7455
Saúl Ibarra Corretgé 3 years ago committed by Saúl Ibarra Corretgé
parent e77679d025
commit 31348179d4
  1. 5
      react/features/authentication/actions.any.js

@ -29,14 +29,11 @@ export function authenticateAndUpgradeRole(
id: string,
password: string,
conference: Object) {
return (dispatch: Dispatch<any>, getState: Function) => {
const { password: roomPassword }
= getState()['features/base/conference'];
return (dispatch: Dispatch<any>) => {
const process
= conference.authenticateAndUpgradeRole({
id,
password,
roomPassword,
onLoginSuccessful() {
// When the login succeeds, the process has completed half

Loading…
Cancel
Save