2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 22:55:11 +00:00

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