Clarify hack comment
This commit is contained in:
parent
b527670c17
commit
1ec41bc7c5
1 changed files with 2 additions and 2 deletions
|
@ -144,8 +144,8 @@ export class ConferenceCall extends EventEmitter {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// HACK: Horrible hack only necessary because Call.incoming sets opponentMember
|
// HACK: Horrible hack necessary because callHandler sets opponentMember
|
||||||
// inside an async function.
|
// asynchronously before emitting the Call.incoming event.
|
||||||
const pollOpponentMember = () => {
|
const pollOpponentMember = () => {
|
||||||
if (call.opponentMember) {
|
if (call.opponentMember) {
|
||||||
const userId = call.opponentMember.userId;
|
const userId = call.opponentMember.userId;
|
||||||
|
|
Loading…
Add table
Reference in a new issue