Made less strict condition to show button of removed users in chat edit.

This commit is contained in:
23rd 2025-01-17 16:28:11 +03:00
parent 3257fd364a
commit 3d8396e586

View file

@ -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)