Hide linked chat button for now.

This commit is contained in:
John Preston 2019-05-28 17:47:36 +02:00
parent 8b804d1995
commit a2b0631932

View File

@ -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);