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
Changes the raise hand event name to fit better the action
yanas8b7bdb4957a2
diff --git a/conference.js b/conference.jsindex 4d3eece688..500e7368a3 100644--- a/conference.js+++ b/conference.js@@ -1648,7 +1648,7 @@ export default {setRaisedHand(raisedHand) {if (raisedHand !== this.isHandRaised){- APP.UI.onRaiseHandChanged(raisedHand);+ APP.UI.onLocalRaiseHandChanged(raisedHand);this.isHandRaised = raisedHand;// Advertise the updated statusdiff --git a/modules/UI/UI.js b/modules/UI/UI.jsindex 44b5af1564..25da996339 100644--- a/modules/UI/UI.js+++ b/modules/UI/UI.js@@ -1217,8 +1217,8 @@ UI.onStartMutedChanged = function (startAudioMuted, startVideoMuted) {* @param {boolean} isRaisedHand indicates the current state of the* "raised hand"*/-UI.onRaiseHandChanged = function (isRaisedHand) {- eventEmitter.emit(UIEvents.RAISE_HAND_CHANGED, isRaisedHand);+UI.onLocalRaiseHandChanged = function (isRaisedHand) {+ eventEmitter.emit(UIEvents.LOCAL_RAISE_HAND_CHANGED, isRaisedHand);};/**diff --git a/modules/UI/toolbars/Toolbar.js b/modules/UI/toolbars/Toolbar.jsindex 344bacb51d..f7576cf528 100644--- a/modules/UI/toolbars/Toolbar.js+++ b/modules/UI/toolbars/Toolbar.js@@ -400,7 +400,7 @@ const Toolbar = {isVisible);});- APP.UI.addListener(UIEvents.RAISE_HAND_CHANGED,+ APP.UI.addListener(UIEvents.LOCAL_RAISE_HAND_CHANGED,function(isRaisedHand) {Toolbar._toggleRaiseHand(isRaisedHand);});diff --git a/service/UI/UIEvents.js b/service/UI/UIEvents.jsindex 7d5c95d4b0..c1ffa54a6a 100644--- a/service/UI/UIEvents.js+++ b/service/UI/UIEvents.js@@ -110,7 +110,7 @@ export default {/*** Notifies that the raise hand has been changed.*/- RAISE_HAND_CHANGED: "UI.raise_hand_changed",+ LOCAL_RAISE_HAND_CHANGED: "UI.local_raise_hand_changed",/*** Notifies that the avatar is displayed or not on the largeVideo.