This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ import DesktopCapturerSourcePicker from "./components/views/elements/DesktopCapt
8585import { Action } from './dispatcher/actions' ;
8686import VoipUserMapper from './VoipUserMapper' ;
8787import { addManagedHybridWidget , isManagedHybridWidgetEnabled } from './widgets/ManagedHybrid' ;
88- import { randomString } from "matrix-js-sdk/src/randomstring" ;
88+ import { randomUppercaseString , randomLowercaseString } from "matrix-js-sdk/src/randomstring" ;
8989
9090export const PROTOCOL_PSTN = 'm.protocol.pstn' ;
9191export const PROTOCOL_PSTN_PREFIXED = 'im.vector.protocol.pstn' ;
@@ -861,8 +861,9 @@ export default class CallHandler {
861861 // https://github.com/matrix-org/prosody-mod-auth-matrix-user-verification
862862 confId = base32 . stringify ( Buffer . from ( roomId ) , { pad : false } ) ;
863863 } else {
864- // Create a random human readable conference ID
865- confId = `JitsiConference${ randomString ( 32 ) } ` ;
864+ // Create a random conference ID
865+ const random = randomUppercaseString ( 1 ) + randomLowercaseString ( 23 ) ;
866+ confId = 'Jitsi' + random ;
866867 }
867868
868869 let widgetUrl = WidgetUtils . getLocalJitsiWrapperUrl ( { auth : jitsiAuth } ) ;
You can’t perform that action at this time.
0 commit comments