mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-14 16:47:46 +00:00
feat: emit raise hand event to external API (#8312)
* Expose raise hand event to external application * Fix linting issues * fix the app non existing issue
This commit is contained in:
@@ -470,6 +470,7 @@ class Toolbox extends Component<Props, State> {
|
||||
*/
|
||||
_doToggleRaiseHand() {
|
||||
const { _localParticipantID, _raisedHand } = this.props;
|
||||
const newRaisedStatus = !_raisedHand;
|
||||
|
||||
this.props.dispatch(participantUpdated({
|
||||
// XXX Only the local participant is allowed to update without
|
||||
@@ -480,8 +481,10 @@ class Toolbox extends Component<Props, State> {
|
||||
|
||||
id: _localParticipantID,
|
||||
local: true,
|
||||
raisedHand: !_raisedHand
|
||||
raisedHand: newRaisedStatus
|
||||
}));
|
||||
|
||||
APP.API.notifyRaiseHandUpdated(_localParticipantID, newRaisedStatus);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user