2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Adapt UI for gigagroups.

This commit is contained in:
John Preston
2021-02-12 19:07:41 +04:00
parent 56b15b26bb
commit 8188ab3033
7 changed files with 52 additions and 21 deletions

View File

@@ -454,6 +454,7 @@ bool ChannelData::canEditInformation() const {
bool ChannelData::canEditPermissions() const {
return isMegagroup()
&& !isGigagroup()
&& ((adminRights() & AdminRight::f_ban_users) || amCreator());
}