fixes option to allow mods to unmute users

This commit is contained in:
Philipp Memmel 2021-03-31 15:06:54 +02:00
parent 6695f7a119
commit 32d3c39acc

View File

@ -392,7 +392,7 @@ const getAvailableActions = (amIModerator, isBreakoutRoom, subjectUser, subjectV
&& subjectVoiceUser.isVoiceUser
&& !subjectVoiceUser.isListenOnly
&& subjectVoiceUser.isMuted
&& (amISubjectUser || usersProp.allowedToUnmuteAudio);
&& (amISubjectUser || usersProp.allowModsToUnmuteUsers);
const allowedToResetStatus = hasAuthority
&& subjectUser.emoji !== EMOJI_STATUSES.none