Merge pull request #57 from matrix-org/matthew/inbound-calls
Position the inbound call box correctly
This commit is contained in:
commit
831aaec457
7 changed files with 103 additions and 78 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue