mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 23:24:01 +02:00
Hide linked chat button for now.
This commit is contained in:
parent
8b804d1995
commit
a2b0631932
1 changed files with 1 additions and 1 deletions
|
@ -779,7 +779,7 @@ void Controller::fillManageSection() {
|
||||||
return !isChannel
|
return !isChannel
|
||||||
? false
|
? false
|
||||||
: channel->isBroadcast()
|
: channel->isBroadcast()
|
||||||
? channel->canEditInformation()
|
? (channel->linkedChat() && channel->canEditInformation())
|
||||||
: (channel->linkedChat()
|
: (channel->linkedChat()
|
||||||
&& channel->canPinMessages()
|
&& channel->canPinMessages()
|
||||||
&& channel->adminRights() != 0);
|
&& channel->adminRights() != 0);
|
||||||
|
|
Loading…
Add table
Reference in a new issue