mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Replaced kick button with admin rank in list of members.
This commit is contained in:
@@ -1930,7 +1930,8 @@ auto ParticipantsBoxController::computeType(
|
||||
: (user && _additional.adminRights(user).has_value())
|
||||
? Rights::Admin
|
||||
: Rights::Normal;
|
||||
result.canRemove = _additional.canRemoveParticipant(participant);
|
||||
// result.canRemove = _additional.canRemoveParticipant(participant);
|
||||
result.adminRank = user ? _additional.adminRank(user) : QString();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user