mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 14:08:41 +00:00
Remove 'Restrict user' button in gigagroups.
This commit is contained in:
@@ -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(
|
||||
|
Reference in New Issue
Block a user