@@ -12,7 +12,12 @@ import { ON_ACTION_TRIGGER_BUTTON, ON_ICON_TRIGGER_BUTTON } from "../../WebRtc/L
1212import type { CoWebsite } from "../../WebRtc/CoWebsite/CoWebsite" ;
1313import { SimpleCoWebsite } from "../../WebRtc/CoWebsite/SimpleCoWebsite" ;
1414import { bbbFactory } from "../../WebRtc/BBBFactory" ;
15- import { JITSI_PRIVATE_MODE , JITSI_URL } from "../../Enum/EnvironmentVariable" ;
15+ import {
16+ JITSI_PRIVATE_MODE ,
17+ JITSI_URL ,
18+ BBB_MOBILE_ENABLED ,
19+ BBB_MOBILE_DIRECT_JOIN_PREFIX
20+ } from "../../Enum/EnvironmentVariable" ;
1621import { JitsiCoWebsite } from "../../WebRtc/CoWebsite/JitsiCoWebsite" ;
1722import { audioManagerFileStore , audioManagerVisibilityStore } from "../../Stores/AudioManagerStore" ;
1823import { iframeListener } from "../../Api/IframeListener" ;
@@ -216,7 +221,7 @@ export class GameMapPropertiesListener {
216221 bbbFactory . setStopped ( false ) ;
217222
218223 let isMobile = isMediaBreakpointUp ( "md" ) ;
219- if ( isMobile ) {
224+ if ( BBB_MOBILE_ENABLED && isMobile ) {
220225 let message = allProps . get ( GameMapProperties . OPEN_WEBSITE_TRIGGER_MESSAGE ) ;
221226 if ( message === undefined ) {
222227 message = get ( LL ) . trigger . newTab ( ) ;
@@ -234,7 +239,7 @@ export class GameMapPropertiesListener {
234239 return this . scene . connection . queryBBBMeetingUrl ( hashedMeetingId , allProps ) ;
235240 } )
236241 . then ( ( bbbAnswer ) => {
237- scriptUtils . openTab ( "br.rnp.conferenciawebmobile://direct-join/" + bbbAnswer . clientURL . replace ( / ^ h t t p s ? : \/ \/ / , '' ) ) ;
242+ scriptUtils . openTab ( BBB_MOBILE_DIRECT_JOIN_PREFIX + bbbAnswer . clientURL . replace ( / ^ h t t p s ? : \/ \/ / , '' ) ) ;
238243 } )
239244 . catch ( ( e ) => console . error ( e ) ) ,
240245 userInputManager : this . scene . userInputManager ,
0 commit comments