fix: Fixes reloads after enabling AV moderation.
This commit is contained in:
parent
c7a91e1974
commit
38f9c97f40
|
@ -284,11 +284,13 @@ StateListenerRegistry.register(
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const localParticipantId = getLocalParticipant(store.getState).id;
|
const localParticipantId = getLocalParticipant(store.getState)?.id;
|
||||||
|
|
||||||
// We left the conference, the local participant must be updated.
|
if (localParticipantId) {
|
||||||
_e2eeUpdated(store, conference, localParticipantId, false);
|
// We left the conference, the local participant must be updated.
|
||||||
_raiseHandUpdated(store, conference, localParticipantId, false);
|
_e2eeUpdated(store, conference, localParticipantId, false);
|
||||||
|
_raiseHandUpdated(store, conference, localParticipantId, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
@ -326,7 +326,7 @@ class MeetingParticipantContextMenu extends Component<Props, State> {
|
||||||
onMouseEnter = { onEnter }
|
onMouseEnter = { onEnter }
|
||||||
onMouseLeave = { onLeave }>
|
onMouseLeave = { onLeave }>
|
||||||
{
|
{
|
||||||
!_participant.isFakeParticipant && (
|
!_participant?.isFakeParticipant && (
|
||||||
<>
|
<>
|
||||||
<ContextMenuItemGroup>
|
<ContextMenuItemGroup>
|
||||||
{
|
{
|
||||||
|
@ -393,7 +393,7 @@ class MeetingParticipantContextMenu extends Component<Props, State> {
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
_participant.isFakeParticipant && _localVideoOwner && (
|
_participant?.isFakeParticipant && _localVideoOwner && (
|
||||||
<ContextMenuItem onClick = { this._onStopSharedVideo }>
|
<ContextMenuItem onClick = { this._onStopSharedVideo }>
|
||||||
<ContextMenuIcon src = { IconShareVideo } />
|
<ContextMenuIcon src = { IconShareVideo } />
|
||||||
<span>{t('toolbar.stopSharedVideo')}</span>
|
<span>{t('toolbar.stopSharedVideo')}</span>
|
||||||
|
|
|
@ -150,7 +150,7 @@ function MeetingParticipantItem({
|
||||||
videoMuteState = { _isVideoMuted ? MEDIA_STATE.MUTED : MEDIA_STATE.UNMUTED }
|
videoMuteState = { _isVideoMuted ? MEDIA_STATE.MUTED : MEDIA_STATE.UNMUTED }
|
||||||
youText = { youText }>
|
youText = { youText }>
|
||||||
{
|
{
|
||||||
!_participant.isFakeParticipant && (
|
!_participant?.isFakeParticipant && (
|
||||||
<>
|
<>
|
||||||
<ParticipantQuickAction
|
<ParticipantQuickAction
|
||||||
askUnmuteText = { askUnmuteText }
|
askUnmuteText = { askUnmuteText }
|
||||||
|
@ -165,7 +165,7 @@ function MeetingParticipantItem({
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
_participant.isFakeParticipant && _localVideoOwner && (
|
_participant?.isFakeParticipant && _localVideoOwner && (
|
||||||
<ParticipantActionEllipsis
|
<ParticipantActionEllipsis
|
||||||
aria-label = { participantActionEllipsisLabel }
|
aria-label = { participantActionEllipsisLabel }
|
||||||
onClick = { onContextMenu } />
|
onClick = { onContextMenu } />
|
||||||
|
|
Loading…
Reference in New Issue