mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-20 23:27:23 +00:00
Fix discussion group unlinking.
This commit is contained in:
parent
7f74084237
commit
9871184953
@ -786,7 +786,7 @@ void Controller::fillManageSection() {
|
||||
? channel->canEditInformation()
|
||||
: (channel->linkedChat()
|
||||
&& channel->canPinMessages()
|
||||
&& channel->adminRights() != 0
|
||||
&& (channel->amCreator() || channel->adminRights() != 0)
|
||||
&& (!channel->hiddenPreHistory()
|
||||
|| channel->canEditPreHistoryHidden()));
|
||||
}();
|
||||
|
Loading…
Reference in New Issue
Block a user