Don't show video mute icon for peer that does not have video visible. Fixes #302
This commit is contained in:
@@ -126,7 +126,7 @@ const ListPeer = (props) =>
|
|||||||
<RecordVoiceOverIcon />
|
<RecordVoiceOverIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
}
|
}
|
||||||
{ screenConsumer &&
|
{ screenConsumer && spotlight &&
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title={intl.formatMessage({
|
title={intl.formatMessage({
|
||||||
id : 'tooltip.muteScreenSharing',
|
id : 'tooltip.muteScreenSharing',
|
||||||
@@ -159,6 +159,7 @@ const ListPeer = (props) =>
|
|||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
}
|
}
|
||||||
|
{ spotlight &&
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title={intl.formatMessage({
|
title={intl.formatMessage({
|
||||||
id : 'tooltip.muteParticipantVideo',
|
id : 'tooltip.muteParticipantVideo',
|
||||||
@@ -190,6 +191,7 @@ const ListPeer = (props) =>
|
|||||||
}
|
}
|
||||||
</IconButton>
|
</IconButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
}
|
||||||
<Tooltip
|
<Tooltip
|
||||||
title={intl.formatMessage({
|
title={intl.formatMessage({
|
||||||
id : 'tooltip.muteParticipant',
|
id : 'tooltip.muteParticipant',
|
||||||
|
|||||||
Reference in New Issue
Block a user