Remove colons from jitsi room name to prevent broken rooms
This commit is contained in:
parent
7c60cca171
commit
df538c2b2b
1 changed files with 16 additions and 13 deletions
|
@ -93,7 +93,10 @@ function JitsiRoom({ isJitsiRoom, setIsJitsiRoom, jitsiCallId, setJitsiCallId })
|
||||||
<JitsiMeeting
|
<JitsiMeeting
|
||||||
key={counter}
|
key={counter}
|
||||||
domain="meet.calyx.net"
|
domain="meet.calyx.net"
|
||||||
roomName={`${roomName} ${roomTimeline.roomId.replace(':matrix.org', '')}`}
|
roomName={`${roomName.replace(':', '')} ${spaceName.replace(
|
||||||
|
':',
|
||||||
|
''
|
||||||
|
)} ${roomTimeline.roomId.replace(':matrix.org', '')}`}
|
||||||
configOverwrite={{
|
configOverwrite={{
|
||||||
disableReactions: true,
|
disableReactions: true,
|
||||||
disablePolls: true,
|
disablePolls: true,
|
||||||
|
@ -103,17 +106,17 @@ function JitsiRoom({ isJitsiRoom, setIsJitsiRoom, jitsiCallId, setJitsiCallId })
|
||||||
startWithVideoMuted: true,
|
startWithVideoMuted: true,
|
||||||
disableProfile: true,
|
disableProfile: true,
|
||||||
toolbarButtons: [
|
toolbarButtons: [
|
||||||
'camera',
|
'camera',
|
||||||
'desktop',
|
'desktop',
|
||||||
'fullscreen',
|
'fullscreen',
|
||||||
'invite',
|
'invite',
|
||||||
'microphone',
|
'microphone',
|
||||||
'noisesuppression',
|
'noisesuppression',
|
||||||
'settings',
|
'settings',
|
||||||
'sharedvideo',
|
'sharedvideo',
|
||||||
'shortcuts',
|
'shortcuts',
|
||||||
'tileview',
|
'tileview',
|
||||||
'videoquality'
|
'videoquality',
|
||||||
],
|
],
|
||||||
|
|
||||||
constraints: {
|
constraints: {
|
||||||
|
@ -149,7 +152,7 @@ function JitsiRoom({ isJitsiRoom, setIsJitsiRoom, jitsiCallId, setJitsiCallId })
|
||||||
resolution: 1080,
|
resolution: 1080,
|
||||||
}}
|
}}
|
||||||
interfaceConfigOverwrite={{
|
interfaceConfigOverwrite={{
|
||||||
DISABLE_JOIN_LEAVE_NOTIFICATIONS: true
|
DISABLE_JOIN_LEAVE_NOTIFICATIONS: true,
|
||||||
}}
|
}}
|
||||||
userInfo={{
|
userInfo={{
|
||||||
displayName: getUsername(mx.getUserId()),
|
displayName: getUsername(mx.getUserId()),
|
||||||
|
|
Loading…
Reference in a new issue