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));
|
||||
if (this.state.audioModerationEnabled) {
|
||||
dispatch(requestEnableAudioModeration());
|
||||
} else {
|
||||
} else if (this.state.audioModerationEnabled !== undefined) {
|
||||
dispatch(requestDisableAudioModeration());
|
||||
}
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ export default class AbstractMuteEveryonesVideoDialog<P: Props>
|
|||
dispatch(muteAllParticipants(exclude, MEDIA_TYPE.VIDEO));
|
||||
if (this.state.moderationEnabled) {
|
||||
dispatch(requestEnableVideoModeration());
|
||||
} else {
|
||||
} else if (this.state.moderationEnabled !== undefined) {
|
||||
dispatch(requestDisableVideoModeration());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue