Fix accepting calls from iOS
This commit is contained in:
parent
0858131ede
commit
e080ad7888
@ -76,11 +76,11 @@ export class AppCallsManager {
|
|||||||
|
|
||||||
case 'phoneCallAccepted': {
|
case 'phoneCallAccepted': {
|
||||||
if(instance) {
|
if(instance) {
|
||||||
if(!this.verifyProtocolCompatibility(call.protocol)) {
|
/* if(!this.verifyProtocolCompatibility(call.protocol)) {
|
||||||
instance.hangUp('phoneCallDiscardReasonDisconnect');
|
instance.hangUp('phoneCallDiscardReasonDisconnect');
|
||||||
rootScope.dispatchEvent('call_incompatible', instance.interlocutorUserId);
|
rootScope.dispatchEvent('call_incompatible', instance.interlocutorUserId);
|
||||||
break;
|
break;
|
||||||
}
|
} */
|
||||||
|
|
||||||
instance.confirmCall();
|
instance.confirmCall();
|
||||||
}
|
}
|
||||||
@ -90,10 +90,10 @@ export class AppCallsManager {
|
|||||||
|
|
||||||
case 'phoneCallRequested': {
|
case 'phoneCallRequested': {
|
||||||
if(!instance) {
|
if(!instance) {
|
||||||
if(!this.verifyProtocolCompatibility(call.protocol)) {
|
/* if(!this.verifyProtocolCompatibility(call.protocol)) {
|
||||||
rootScope.dispatchEvent('call_incompatible', call.admin_id);
|
rootScope.dispatchEvent('call_incompatible', call.admin_id);
|
||||||
break;
|
break;
|
||||||
}
|
} */
|
||||||
|
|
||||||
instance = this.createCallInstance({
|
instance = this.createCallInstance({
|
||||||
isOutgoing: false,
|
isOutgoing: false,
|
||||||
|
Loading…
Reference in New Issue
Block a user