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:
@@ -454,6 +454,7 @@ bool ChannelData::canEditInformation() const {
|
||||
|
||||
bool ChannelData::canEditPermissions() const {
|
||||
return isMegagroup()
|
||||
&& !isGigagroup()
|
||||
&& ((adminRights() & AdminRight::f_ban_users) || amCreator());
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user