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
|
<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}
|
||||||
|
Loading…
Reference in New Issue
Block a user