Remove opponentMember check
This commit is contained in:
parent
0d7ad5c07a
commit
49353cd2fe
1 changed files with 5 additions and 8 deletions
|
@ -319,14 +319,11 @@ export class ConferenceCallManager extends EventEmitter {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (call.opponentMember) {
|
const userId = call.opponentMember.userId;
|
||||||
const userId = call.opponentMember.userId;
|
this._addCall(call, userId);
|
||||||
this._addCall(call, userId);
|
this._setDebugState(userId, "answered");
|
||||||
this._setDebugState(userId, "answered");
|
this._addDebugEvent(userId, "answer", { callId: call.callId });
|
||||||
this._addDebugEvent(userId, "answer", { callId: call.callId });
|
call.answer();
|
||||||
call.answer();
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
_addCall(call, userId) {
|
_addCall(call, userId) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue