fix(av-moderation) - Mute/ stop video except no longer change moderation status
Mute everyone else no longer disables moderation
This commit is contained in:
parent
99e56e229d
commit
92f1985219
|
@ -105,7 +105,7 @@ export default class AbstractMuteEveryoneDialog<P: Props> extends AbstractMuteRe
|
||||||
dispatch(muteAllParticipants(exclude, MEDIA_TYPE.AUDIO));
|
dispatch(muteAllParticipants(exclude, MEDIA_TYPE.AUDIO));
|
||||||
if (this.state.audioModerationEnabled) {
|
if (this.state.audioModerationEnabled) {
|
||||||
dispatch(requestEnableAudioModeration());
|
dispatch(requestEnableAudioModeration());
|
||||||
} else {
|
} else if (this.state.audioModerationEnabled !== undefined) {
|
||||||
dispatch(requestDisableAudioModeration());
|
dispatch(requestDisableAudioModeration());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -106,7 +106,7 @@ export default class AbstractMuteEveryonesVideoDialog<P: Props>
|
||||||
dispatch(muteAllParticipants(exclude, MEDIA_TYPE.VIDEO));
|
dispatch(muteAllParticipants(exclude, MEDIA_TYPE.VIDEO));
|
||||||
if (this.state.moderationEnabled) {
|
if (this.state.moderationEnabled) {
|
||||||
dispatch(requestEnableVideoModeration());
|
dispatch(requestEnableVideoModeration());
|
||||||
} else {
|
} else if (this.state.moderationEnabled !== undefined) {
|
||||||
dispatch(requestDisableVideoModeration());
|
dispatch(requestDisableVideoModeration());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue