mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Made less strict condition to show button of removed users in chat edit.
This commit is contained in:
parent
3257fd364a
commit
3d8396e586
1 changed files with 3 additions and 1 deletions
|
@ -1244,7 +1244,9 @@ void Controller::fillManageSection() {
|
|||
? channel->canViewMembers()
|
||||
: chat->amIn();
|
||||
const auto canViewKicked = isChannel
|
||||
&& (channel->isBroadcast() || channel->isGigagroup());
|
||||
&& (channel->isMegagroup()
|
||||
? (channel->isBroadcast() || channel->isGigagroup())
|
||||
: true);
|
||||
const auto hasRecentActions = isChannel
|
||||
&& (channel->hasAdminRights() || channel->amCreator());
|
||||
const auto hasStarRef = Info::BotStarRef::Join::Allowed(_peer)
|
||||
|
|
Loading…
Add table
Reference in a new issue