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
Remove legacy web raise hand code
Bettenbuk Zoltan50d7c1521f77
diff --git a/modules/UI/UI.js b/modules/UI/UI.jsindex d178b80d06..9c60e83cca 100644--- a/modules/UI/UI.js+++ b/modules/UI/UI.js@@ -175,30 +175,6 @@ UI.changeDisplayName = function(id, displayName) {VideoLayout.onDisplayNameChanged(id, displayName);};-/**- * Sets the "raised hand" status for a participant.- *- * @param {string} id - The id of the participant whose raised hand UI should- * be updated.- * @param {string} name - The name of the participant with the raised hand- * update.- * @param {boolean} raisedHandStatus - Whether the participant's hand is raised- * or not.- * @returns {void}- */-UI.setRaisedHandStatus = (id, name, raisedHandStatus) => {- VideoLayout.setRaisedHandStatus(id, raisedHandStatus);-};--/**- * Sets the local "raised hand" status.- */-UI.setLocalRaisedHandStatus- = raisedHandStatus =>- VideoLayout.setRaisedHandStatus(- APP.conference.getMyUserId(),- raisedHandStatus);-/*** Initialize conference UI.*/diff --git a/modules/UI/videolayout/SmallVideo.js b/modules/UI/videolayout/SmallVideo.jsindex 57d02198b1..bdb7653bf7 100644--- a/modules/UI/videolayout/SmallVideo.js+++ b/modules/UI/videolayout/SmallVideo.js@@ -840,12 +840,10 @@ SmallVideo.prototype.updateIndicators = function() {= { statsPopoverPosition }userID = { this.id } />: null }- { this._showRaisedHand- ? <RaisedHandIndicator- iconSize = { iconSize }- participantId = { this.id }- tooltipPosition = { tooltipPosition } />- : null }+ <RaisedHandIndicator+ iconSize = { iconSize }+ participantId = { this.id }+ tooltipPosition = { tooltipPosition } />{ this._showDominantSpeaker? <DominantSpeakerIndicatoriconSize = { iconSize }diff --git a/modules/UI/videolayout/VideoLayout.js b/modules/UI/videolayout/VideoLayout.jsindex ab783d7639..f6de3fc5c1 100644--- a/modules/UI/videolayout/VideoLayout.js+++ b/modules/UI/videolayout/VideoLayout.js@@ -672,22 +672,6 @@ const VideoLayout = {}},- /**- * Sets the "raised hand" status for a participant identified by 'id'.- */- setRaisedHandStatus(id, raisedHandStatus) {- const video- = APP.conference.isLocalId(id)- ? localVideoThumbnail : remoteVideos[id];-- if (video) {- video.showRaisedHandIndicator(raisedHandStatus);- if (raisedHandStatus) {- video.showDominantSpeakerIndicator(false);- }- }- },-/*** On dominant speaker changed event.*diff --git a/react/features/base/participants/middleware.js b/react/features/base/participants/middleware.jsindex fcd335dabc..fc4d118916 100644--- a/react/features/base/participants/middleware.js+++ b/react/features/base/participants/middleware.js@@ -40,7 +40,6 @@ import {import {getAvatarURLByParticipantId,getLocalParticipant,- getParticipantById,getParticipantCount,getParticipantDisplayName} from './functions';@@ -332,21 +331,6 @@ function _participantJoinedOrUpdated({ getState }, next, action) {'raisedHand',raisedHand);}-- if (typeof APP === 'object') {- if (local) {- APP.UI.onLocalRaiseHandChanged(raisedHand);- APP.UI.setLocalRaisedHandStatus(raisedHand);- } else {- const remoteParticipant = getParticipantById(getState(), id);-- remoteParticipant- && APP.UI.setRaisedHandStatus(- remoteParticipant.id,- remoteParticipant.name,- raisedHand);- }- }}// Notify external listeners of potential avatarURL changes.