Changes the raise hand event name to fit better the action

pull/885/head
yanas 8 years ago
parent bd46430434
commit 8b7bdb4957
  1. 2
      conference.js
  2. 4
      modules/UI/UI.js
  3. 2
      modules/UI/toolbars/Toolbar.js
  4. 2
      service/UI/UIEvents.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 status

@ -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);
};
/**

@ -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);
});

@ -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.

Loading…
Cancel
Save