mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-03-04 05:17:55 +00:00
Allow 'mute for me' of muted by admin participants.
This commit is contained in:
parent
8342b2d275
commit
b3fcb4ef36
@ -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…
Reference in New Issue
Block a user