Remove colons from jitsi room name to prevent broken rooms

This commit is contained in:
IceDBorn 2023-03-25 08:02:20 +02:00
parent 7c60cca171
commit df538c2b2b

View file

@ -93,7 +93,10 @@ function JitsiRoom({ isJitsiRoom, setIsJitsiRoom, jitsiCallId, setJitsiCallId })
<JitsiMeeting
key={counter}
domain="meet.calyx.net"
roomName={`${roomName} ${roomTimeline.roomId.replace(':matrix.org', '')}`}
roomName={`${roomName.replace(':', '')} ${spaceName.replace(
':',
''
)} ${roomTimeline.roomId.replace(':matrix.org', '')}`}
configOverwrite={{
disableReactions: true,
disablePolls: true,
@ -113,7 +116,7 @@ function JitsiRoom({ isJitsiRoom, setIsJitsiRoom, jitsiCallId, setJitsiCallId })
'sharedvideo',
'shortcuts',
'tileview',
'videoquality'
'videoquality',
],
constraints: {
@ -149,7 +152,7 @@ function JitsiRoom({ isJitsiRoom, setIsJitsiRoom, jitsiCallId, setJitsiCallId })
resolution: 1080,
}}
interfaceConfigOverwrite={{
DISABLE_JOIN_LEAVE_NOTIFICATIONS: true
DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,
}}
userInfo={{
displayName: getUsername(mx.getUserId()),