diff --git a/src/components/views/voip/CallView.tsx b/src/components/views/voip/CallView.tsx index d8fff4432e..fb87bb080c 100644 --- a/src/components/views/voip/CallView.tsx +++ b/src/components/views/voip/CallView.tsx @@ -646,17 +646,12 @@ export default class CallView extends React.Component { let sidebar; if ( (!isOnHold && !transfereeCall) && - ( - (sidebarShown && isVideoCall) || - (someoneIsScreensharing && sidebarShown) || - isScreensharing - ) + sidebarShown && (isVideoCall || someoneIsScreensharing) ) { sidebar = ( ); diff --git a/src/components/views/voip/CallViewSidebar.tsx b/src/components/views/voip/CallViewSidebar.tsx index fdcadaad6b..a0cb25b3df 100644 --- a/src/components/views/voip/CallViewSidebar.tsx +++ b/src/components/views/voip/CallViewSidebar.tsx @@ -23,15 +23,12 @@ import classNames from "classnames"; interface IProps { feeds: Array; call: MatrixCall; - hideLocalFeeds: boolean; pipMode: boolean; } export default class CallViewSidebar extends React.Component { render() { const feeds = this.props.feeds.map((feed) => { - if (feed.isLocal() && this.props.hideLocalFeeds) return; - return (