mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 11:17:57 +00:00
Fixes a problem not showing remote video menu in case of all moderators. (#2130)
Removes hasRemoteVideoMenu from RemoteVideo. In some cases where mod_muc_allowners is enabled we do not see the remote video menu. The problem was in the order of initialization of remote video component. RemoteVideo#constructor -> Remotevideo#addaddRemoteVideoContainer -> Remotevideo#addRemoteVideoMenu -> RemoteVideo#hasRemoteVideoMenu = true Then in VideoLayout#showModeratorIndicator -> !remoteVideo.hasRemoteVideoMenu -> remoteVideo.addRemoteVideoMenu().
This commit is contained in:
committed by
virtuacoplenny
parent
922bbb1798
commit
90070d9e9f
@@ -559,12 +559,7 @@ const VideoLayout = {
|
||||
remoteVideo.addModeratorIndicator();
|
||||
}
|
||||
|
||||
if (isModerator) {
|
||||
// We are moderator, but user is not - add menu
|
||||
if (!remoteVideo.hasRemoteVideoMenu) {
|
||||
remoteVideo.addRemoteVideoMenu();
|
||||
}
|
||||
}
|
||||
remoteVideo.updateRemoteVideoMenu();
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user