mirror of https://github.com/vector-im/riot-web
Fix sidebar hiding
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>pull/21833/head
parent
7ad62a8b1a
commit
1b9b5fd048
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue