Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
Updates raised hand to overwrite dominant speaker.
damencho6320ef1caa45
diff --git a/conference.js b/conference.jsindex cd004a8608..ca74ab4499 100644--- a/conference.js+++ b/conference.js@@ -1812,14 +1812,10 @@ export default {},/**- * Toggles the local "raised hand" status, if the current state allows- * toggling.+ * Toggles the local "raised hand" status.*/maybeToggleRaisedHand() {- // If we are the dominant speaker, we don't enable "raise hand".- if (this.isHandRaised || !this.isDominantSpeaker) {- this.setRaisedHand(!this.isHandRaised);- }+ this.setRaisedHand(!this.isHandRaised);},/**diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex e98ead8de0..2548425ff7 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -593,6 +593,9 @@ var VideoLayout = {? localVideoThumbnail : remoteVideos[id];if (video) {video.showRaisedHandIndicator(raisedHandStatus);+ if (raisedHandStatus) {+ video.showDominantSpeakerIndicator(false);+ }}},