Skip to content

Commit c605310

Browse files
authored
Prevent exception when muting (#2667)
Fixes element-hq/element-call#578
1 parent 41cee6f commit c605310

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webrtc/groupCall.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ export class GroupCall extends TypedEventEmitter<
476476
}
477477

478478
for (const call of this.calls) {
479-
call.localUsermediaFeed.setAudioVideoMuted(muted, null);
479+
call.localUsermediaFeed?.setAudioVideoMuted(muted, null);
480480
}
481481

482482
if (sendUpdatesBefore) {

0 commit comments

Comments
 (0)