mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Allow 'mute for me' of muted by admin participants.
This commit is contained in:
parent
8342b2d275
commit
b3fcb4ef36
1 changed files with 1 additions and 4 deletions
|
@ -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 = [=] {
|
||||
|
|
Loading…
Add table
Reference in a new issue