1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-09 14:21:50 +03:00

Merge pull request 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
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;