Fix sidebar hiding

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-07-22 09:14:44 +02:00
parent 7ad62a8b1a
commit 1b9b5fd048
No known key found for this signature in database
GPG key ID: 55C211A1226CB17D

View file

@ -645,7 +645,11 @@ export default class CallView extends React.Component<IProps, IState> {
let sidebar; let sidebar;
if ( if (
(!isOnHold && !transfereeCall) && (!isOnHold && !transfereeCall) &&
((sidebarShown && this.props.call.type === CallType.Video) || someoneIsScreensharing) (
(sidebarShown && this.props.call.type === CallType.Video) ||
(someoneIsScreensharing && sidebarShown) ||
isScreensharing
)
) { ) {
sidebar = ( sidebar = (
<CallViewSidebar <CallViewSidebar