mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Remove 'Restrict user' button in gigagroups.
This commit is contained in:
parent
d93d47f2cf
commit
42d40a6f8f
1 changed files with 1 additions and 1 deletions
|
@ -1500,7 +1500,7 @@ base::unique_qptr<Ui::PopupMenu> ParticipantsBoxController::rowContextMenu(
|
|||
if (const auto chat = _peer->asChat()) {
|
||||
return chat->amCreator();
|
||||
}
|
||||
return _peer->isMegagroup();
|
||||
return _peer->isMegagroup() && !_peer->isGigagroup();
|
||||
}();
|
||||
if (canRestrictWithoutKick) {
|
||||
result->addAction(
|
||||
|
|
Loading…
Add table
Reference in a new issue