Hide the topics toggle in broadcast group settings.
This commit is contained in:
1 parent
31b14dc46d
commit
97f1d054a1
1 file changed
+3
-1
@@ -1551,7 +1551,9 @@ void Controller::fillManageSection() {
|
||||
? channel->canEditPreHistoryHidden()
|
||||
: chat->canEditPreHistoryHidden();
|
||||
const auto canEditForum = isChannel
|
||||
? (channel->isMegagroup() && channel->amCreator())
|
||||
? (channel->isMegagroup()
|
||||
&& !channel->isGigagroup()
|
||||
&& channel->amCreator())
|
||||
: chat->amCreator();
|
||||
const auto canEditPermissions = isChannel
|
||||
? channel->canEditPermissions()
|
||||
|
||||
Reference in new issue
Block a user