Merge pull request #5310 from matrix-org/dbkr/fix_rogue_half_call_bar
Fix rogue (partial) call barpull/21833/head
commit
4425ae30e9
|
@ -123,7 +123,9 @@ export default class RoomStatusBar extends React.Component {
|
|||
};
|
||||
|
||||
_showCallBar() {
|
||||
return this.props.callState !== CallState.Ended && this.props.callState !== CallState.Ringing;
|
||||
return (this.props.callState &&
|
||||
(this.props.callState !== CallState.Ended && this.props.callState !== CallState.Ringing)
|
||||
);
|
||||
}
|
||||
|
||||
_onResendAllClick = () => {
|
||||
|
|
Loading…
Reference in New Issue