From 4e9f2aaaddacc7271621faee4b2a363706e4c7df Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Fri, 31 Oct 2025 15:46:09 +0300 Subject: [PATCH] Removed redundant button for chat management from info actions list. --- .../info/profile/info_profile_actions.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp index 62f95a48c3..fa6c77f7a3 100644 --- a/Telegram/SourceFiles/info/profile/info_profile_actions.cpp +++ b/Telegram/SourceFiles/info/profile/info_profile_actions.cpp @@ -2887,20 +2887,6 @@ object_ptr SetupChannelMembersAndManage( st::infoChannelAdminsIconPosition); } - if (EditPeerInfoBox::Available(channel)) { - const auto sessionController = controller->parentController(); - const auto button = AddActionButton( - result->entity(), - tr::lng_profile_manage(), - rpl::single(true), - [=] { sessionController->showEditPeerBox(channel); }, - nullptr); - object_ptr( - button, - st::menuIconManage, - st::infoChannelAdminsIconPosition); - } - result->setDuration(st::infoSlideDuration)->toggleOn( rpl::combine( std::move(membersShown),