mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2026-05-18 04:17:47 +00:00
feat(raised-hand) Change raisedHand to a timestamp instead of boole… (#10167)
- this was needed for sorting the raised hand participants in participants pane in the order they raised their hand also for participants joining late
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
import { Component } from 'react';
|
||||
|
||||
import { getParticipantById } from '../../base/participants';
|
||||
import { getParticipantById, hasRaisedHand } from '../../base/participants';
|
||||
|
||||
export type Props = {
|
||||
|
||||
@@ -57,6 +57,6 @@ export function _mapStateToProps(state: Object, ownProps: Props): Object {
|
||||
const participant = getParticipantById(state, ownProps.participantId);
|
||||
|
||||
return {
|
||||
_raisedHand: participant && participant.raisedHand
|
||||
_raisedHand: hasRaisedHand(participant)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user