Changes the raise hand event name to fit better the action
This commit is contained in:
parent
bd46430434
commit
8b7bdb4957
|
@ -1648,7 +1648,7 @@ export default {
|
||||||
setRaisedHand(raisedHand) {
|
setRaisedHand(raisedHand) {
|
||||||
if (raisedHand !== this.isHandRaised)
|
if (raisedHand !== this.isHandRaised)
|
||||||
{
|
{
|
||||||
APP.UI.onRaiseHandChanged(raisedHand);
|
APP.UI.onLocalRaiseHandChanged(raisedHand);
|
||||||
|
|
||||||
this.isHandRaised = raisedHand;
|
this.isHandRaised = raisedHand;
|
||||||
// Advertise the updated status
|
// Advertise the updated status
|
||||||
|
|
|
@ -1217,8 +1217,8 @@ UI.onStartMutedChanged = function (startAudioMuted, startVideoMuted) {
|
||||||
* @param {boolean} isRaisedHand indicates the current state of the
|
* @param {boolean} isRaisedHand indicates the current state of the
|
||||||
* "raised hand"
|
* "raised hand"
|
||||||
*/
|
*/
|
||||||
UI.onRaiseHandChanged = function (isRaisedHand) {
|
UI.onLocalRaiseHandChanged = function (isRaisedHand) {
|
||||||
eventEmitter.emit(UIEvents.RAISE_HAND_CHANGED, isRaisedHand);
|
eventEmitter.emit(UIEvents.LOCAL_RAISE_HAND_CHANGED, isRaisedHand);
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -400,7 +400,7 @@ const Toolbar = {
|
||||||
isVisible);
|
isVisible);
|
||||||
});
|
});
|
||||||
|
|
||||||
APP.UI.addListener(UIEvents.RAISE_HAND_CHANGED,
|
APP.UI.addListener(UIEvents.LOCAL_RAISE_HAND_CHANGED,
|
||||||
function(isRaisedHand) {
|
function(isRaisedHand) {
|
||||||
Toolbar._toggleRaiseHand(isRaisedHand);
|
Toolbar._toggleRaiseHand(isRaisedHand);
|
||||||
});
|
});
|
||||||
|
|
|
@ -110,7 +110,7 @@ export default {
|
||||||
/**
|
/**
|
||||||
* Notifies that the raise hand has been changed.
|
* 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.
|
* Notifies that the avatar is displayed or not on the largeVideo.
|
||||||
|
|
Loading…
Reference in New Issue