From a7724a65434caf92b567f9cf3aa6ecac59cfd4c2 Mon Sep 17 00:00:00 2001 From: Ramon Candel Segura Date: Mon, 17 Feb 2025 17:45:00 +0100 Subject: [PATCH] Fixed join conference in dev mode --- react/features/base/connection/actions.any.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/react/features/base/connection/actions.any.ts b/react/features/base/connection/actions.any.ts index c1d99e3214c5..483427f4c892 100644 --- a/react/features/base/connection/actions.any.ts +++ b/react/features/base/connection/actions.any.ts @@ -22,8 +22,8 @@ import { } from './actionTypes'; import { JITSI_CONNECTION_URL_KEY } from './constants'; import logger from './logger'; -import { ConnectionFailedError, IIceServers } from './types'; -import { get8x8AppId, get8x8Options, get8x8JWT } from './options8x8'; +import { get8x8AppId, get8x8JWT, get8x8Options } from "./options8x8"; +import { ConnectionFailedError, IIceServers } from "./types"; /** * The options that will be passed to the JitsiConnection instance. @@ -155,7 +155,9 @@ export function constructOptions(state: IReduxState) { options.websocketKeepAliveUrl = appendURLParam(options.websocketKeepAliveUrl, 'room', roomName ?? ''); } if (options.conferenceRequestUrl) { - options.conferenceRequestUrl = appendURLParam(options.conferenceRequestUrl, 'room', roomName ?? ''); + // COMMENTED appendURLParam to force use of xmpp protocol instead of http to join a conference + // because its http request is not working + options.conferenceRequestUrl = undefined; //appendURLParam(options.conferenceRequestUrl, "room", roomName ?? ""); } }