Fix sidebar hiding

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
pull/21833/head
Š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
1 changed files with 5 additions and 1 deletions

View File

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