mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 22:46:10 +00:00
Show manage banned and restricted to creator.
This commit is contained in:
@@ -892,6 +892,9 @@ public:
|
||||
bool canViewAdmins() const {
|
||||
return (isMegagroup() || hasAdminRights() || amCreator());
|
||||
}
|
||||
bool canViewBanned() const {
|
||||
return (hasAdminRights() || amCreator());
|
||||
}
|
||||
bool canEditInformation() const {
|
||||
return adminRights().is_change_info() || amCreator();
|
||||
}
|
||||
|
Reference in New Issue
Block a user