position the inbound call box correctly, and fix various issues with when the video preview and callview are shown
This commit is contained in:
parent
186b727303
commit
d979a028a5
7 changed files with 94 additions and 78 deletions
|
@ -1207,8 +1207,9 @@ module.exports = React.createClass({
|
|||
}
|
||||
|
||||
var call = CallHandler.getCallForRoom(this.props.roomId);
|
||||
//var call = CallHandler.getAnyActiveCall();
|
||||
var inCall = false;
|
||||
if (call && this.state.callState != 'ended') {
|
||||
if (call && (this.state.callState !== 'ended' && this.state.callState !== 'ringing')) {
|
||||
inCall = true;
|
||||
var zoomButton, voiceMuteButton, videoMuteButton;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue