Fix emitting participants_changed event

This commit is contained in:
Robert Long
2021-09-20 17:30:49 -07:00
parent e4fc1f3628
commit aef5d73de4
+1 -1
View File
@@ -486,7 +486,7 @@ export class GroupCall extends EventEmitter {
// a participant without a stream can still listen in on other user's streams?
this.participants.push(participant);
this.reEmitter.reEmit(participant, Object.values(GroupCallParticipantEvent));
this.emit(GroupCallEvent.ParticipantsChanged), this.participants;
this.emit(GroupCallEvent.ParticipantsChanged, this.participants);
}
};