From aef5d73de4677a457deefedd4a0cf93867e2cee6 Mon Sep 17 00:00:00 2001 From: Robert Long Date: Mon, 20 Sep 2021 17:30:49 -0700 Subject: [PATCH] Fix emitting participants_changed event --- src/webrtc/groupCall.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webrtc/groupCall.ts b/src/webrtc/groupCall.ts index c366ed55c..f22d90577 100644 --- a/src/webrtc/groupCall.ts +++ b/src/webrtc/groupCall.ts @@ -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); } };