From 1e706db114006855c1dca81d194736f436663ddc Mon Sep 17 00:00:00 2001 From: robertpin Date: Tue, 16 Nov 2021 16:27:23 +0200 Subject: [PATCH] fix(av-moderation) Don't stop local screensharing on mute all --- react/features/video-menu/actions.any.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react/features/video-menu/actions.any.js b/react/features/video-menu/actions.any.js index c63e919f5..45e5959e6 100644 --- a/react/features/video-menu/actions.any.js +++ b/react/features/video-menu/actions.any.js @@ -103,7 +103,7 @@ export function muteAllParticipants(exclude: Array, mediaType: MEDIA_TYP const localId = getLocalParticipant(state).id; if (!exclude.includes(localId)) { - dispatch(muteLocal(true, mediaType, true)); + dispatch(muteLocal(true, mediaType, mediaType !== MEDIA_TYPE.AUDIO)); } getRemoteParticipants(state).forEach((p, id) => {