From a2b063193247580500bba8b34d1d5b2cd788b9c9 Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 28 May 2019 17:47:36 +0200 Subject: [PATCH] Hide linked chat button for now. --- Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp index bb0f6a16b..465f4a32b 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_peer_info_box.cpp @@ -779,7 +779,7 @@ void Controller::fillManageSection() { return !isChannel ? false : channel->isBroadcast() - ? channel->canEditInformation() + ? (channel->linkedChat() && channel->canEditInformation()) : (channel->linkedChat() && channel->canPinMessages() && channel->adminRights() != 0);