Clarify hack comment
This commit is contained in:
@@ -144,8 +144,8 @@ export class ConferenceCall extends EventEmitter {
|
||||
return;
|
||||
}
|
||||
|
||||
// HACK: Horrible hack only necessary because Call.incoming sets opponentMember
|
||||
// inside an async function.
|
||||
// HACK: Horrible hack necessary because callHandler sets opponentMember
|
||||
// asynchronously before emitting the Call.incoming event.
|
||||
const pollOpponentMember = () => {
|
||||
if (call.opponentMember) {
|
||||
const userId = call.opponentMember.userId;
|
||||
|
||||
Reference in New Issue
Block a user