From 31348179d4c28b1d5f373424a1560b263e491c87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Tue, 21 Jun 2022 14:12:16 +0200 Subject: [PATCH] fix(auth) simplify auth-and-upgrade procedure It's not necessary to perform a full join, sending a conference IQ is enough. --- react/features/authentication/actions.any.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/react/features/authentication/actions.any.js b/react/features/authentication/actions.any.js index 5dce52cf1..681c50c62 100644 --- a/react/features/authentication/actions.any.js +++ b/react/features/authentication/actions.any.js @@ -29,14 +29,11 @@ export function authenticateAndUpgradeRole( id: string, password: string, conference: Object) { - return (dispatch: Dispatch, getState: Function) => { - const { password: roomPassword } - = getState()['features/base/conference']; + return (dispatch: Dispatch) => { const process = conference.authenticateAndUpgradeRole({ id, password, - roomPassword, onLoginSuccessful() { // When the login succeeds, the process has completed half