Merge pull request #57 from matrix-org/matthew/inbound-calls

Position the inbound call box correctly
This commit is contained in:
Matthew Hodgson 2015-12-18 15:59:18 +00:00
commit 831aaec457
7 changed files with 103 additions and 78 deletions

View file

@ -1280,8 +1280,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;