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>
) : ( ) : (
<div className={classNames(styles.infoBubble, styles.memberName)}> <div className={classNames(styles.infoBubble, styles.memberName)}>
{microphoneMuted ? <MicMutedIcon /> : <MicIcon />} {microphoneMuted === false ? <MicIcon /> : <MicMutedIcon />}
<span title={displayName}>{displayName}</span> <span title={displayName}>{displayName}</span>
{showConnectionStats && ( {showConnectionStats && (
<ConnectionQualityIndicator participant={sfuParticipant} /> <ConnectionQualityIndicator participant={sfuParticipant} />