mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Avoid flashing the 'join conference' button at the user in video rooms (#22120)
This commit is contained in:
parent
31b43542cd
commit
1783645108
@ -241,7 +241,9 @@ function switchVisibleContainers() {
|
|||||||
|
|
||||||
function toggleConferenceVisibility(inConference: boolean) {
|
function toggleConferenceVisibility(inConference: boolean) {
|
||||||
document.getElementById("jitsiContainer").style.visibility = inConference ? 'unset' : 'hidden';
|
document.getElementById("jitsiContainer").style.visibility = inConference ? 'unset' : 'hidden';
|
||||||
document.getElementById("joinButtonContainer").style.visibility = inConference ? 'hidden' : 'unset';
|
// Video rooms have a separate UI for joining, so they should never show our join button
|
||||||
|
document.getElementById("joinButtonContainer").style.visibility =
|
||||||
|
(inConference || isVideoChannel) ? 'hidden' : 'unset';
|
||||||
}
|
}
|
||||||
|
|
||||||
function skipToJitsiSplashScreen() {
|
function skipToJitsiSplashScreen() {
|
||||||
|
Loading…
Reference in New Issue
Block a user