Don't hide video on encryption status error (#2726)

This commit is contained in:
Hugh Nimmo-Smith 2024-11-06 15:31:31 +00:00 committed by GitHub
parent 137c2fad0b
commit f611554c31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,11 +72,7 @@ export const MediaView = forwardRef<HTMLDivElement, Props>(
<animated.div <animated.div
className={classNames(styles.media, className, { className={classNames(styles.media, className, {
[styles.mirror]: mirror, [styles.mirror]: mirror,
[styles.videoMuted]: [styles.videoMuted]: !videoEnabled,
!videoEnabled ||
![EncryptionStatus.Connecting, EncryptionStatus.Okay].includes(
encryptionStatus,
),
})} })}
style={style} style={style}
ref={ref} ref={ref}