Merge pull request #5310 from matrix-org/dbkr/fix_rogue_half_call_bar

Fix rogue (partial) call bar
This commit is contained in:
David Baker
2020-10-13 12:24:10 +01:00
committed by GitHub

View File

@@ -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 = () => {