Allow 'mute for me' of muted by admin participants.

This commit is contained in:
John Preston 2021-04-29 12:36:04 +04:00
parent 8342b2d275
commit b3fcb4ef36
1 changed files with 1 additions and 4 deletions

View File

@ -2010,10 +2010,7 @@ void MembersController::addMuteActionsToContextMenu(
|| isMe(participantPeer)
|| (muteState == Row::State::Inactive
&& participantIsCallAdmin
&& _peer->canManageGroupCall())
|| (isMuted
&& !_peer->canManageGroupCall()
&& muteState != Row::State::MutedByMe)) {
&& _peer->canManageGroupCall())) {
return nullptr;
}
auto callback = [=] {