1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

Always hide all feeds

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-07-22 10:39:00 +02:00
parent 8695beb7ca
commit 33abe83dad
2 changed files with 1 additions and 9 deletions

View File

@@ -646,17 +646,12 @@ export default class CallView extends React.Component<IProps, IState> {
let sidebar;
if (
(!isOnHold && !transfereeCall) &&
(
(sidebarShown && isVideoCall) ||
(someoneIsScreensharing && sidebarShown) ||
isScreensharing
)
sidebarShown && (isVideoCall || someoneIsScreensharing)
) {
sidebar = (
<CallViewSidebar
feeds={this.state.secondaryFeeds}
call={this.props.call}
hideLocalFeeds={isScreensharing && !sidebarShown}
pipMode={this.props.pipMode}
/>
);