mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-21 00:28:08 +08:00
Don't hide video on encryption status error (#2726)
This commit is contained in:
parent
137c2fad0b
commit
f611554c31
@ -72,11 +72,7 @@ export const MediaView = forwardRef<HTMLDivElement, Props>(
|
||||
<animated.div
|
||||
className={classNames(styles.media, className, {
|
||||
[styles.mirror]: mirror,
|
||||
[styles.videoMuted]:
|
||||
!videoEnabled ||
|
||||
![EncryptionStatus.Connecting, EncryptionStatus.Okay].includes(
|
||||
encryptionStatus,
|
||||
),
|
||||
[styles.videoMuted]: !videoEnabled,
|
||||
})}
|
||||
style={style}
|
||||
ref={ref}
|
||||
|
Loading…
Reference in New Issue
Block a user