Fix local tile showing as unmuted when you join muted

This commit is contained in:
Robin Townsend 2023-06-18 14:28:28 -04:00
parent eb500ed88e
commit 510d55d88a

View File

@ -140,7 +140,7 @@ export const VideoTile = React.forwardRef<HTMLDivElement, Props>(
</div>
) : (
<div className={classNames(styles.infoBubble, styles.memberName)}>
{microphoneMuted ? <MicMutedIcon /> : <MicIcon />}
{microphoneMuted === false ? <MicIcon /> : <MicMutedIcon />}
<span title={displayName}>{displayName}</span>
{showConnectionStats && (
<ConnectionQualityIndicator participant={sfuParticipant} />