Fix discussion group unlinking.

This commit is contained in:
John Preston 2019-05-31 14:07:50 +03:00
parent 7f74084237
commit 9871184953
1 changed files with 1 additions and 1 deletions

View File

@ -786,7 +786,7 @@ void Controller::fillManageSection() {
? channel->canEditInformation() ? channel->canEditInformation()
: (channel->linkedChat() : (channel->linkedChat()
&& channel->canPinMessages() && channel->canPinMessages()
&& channel->adminRights() != 0 && (channel->amCreator() || channel->adminRights() != 0)
&& (!channel->hiddenPreHistory() && (!channel->hiddenPreHistory()
|| channel->canEditPreHistoryHidden())); || channel->canEditPreHistoryHidden()));
}(); }();