parent
aec6e17b5d
commit
4293a4857f
|
@ -1339,7 +1339,8 @@ void ParticipantsBoxController::rowClicked(not_null<PeerListRow*> row) {
|
||||||
const auto user = row->peer()->asUser();
|
const auto user = row->peer()->asUser();
|
||||||
if (_role == Role::Admins) {
|
if (_role == Role::Admins) {
|
||||||
showAdmin(user);
|
showAdmin(user);
|
||||||
} else if (_role == Role::Restricted || _role == Role::Kicked) {
|
} else if ((_role == Role::Restricted || _role == Role::Kicked)
|
||||||
|
&& (_peer->isChat() || _peer->isMegagroup())) {
|
||||||
showRestricted(user);
|
showRestricted(user);
|
||||||
} else {
|
} else {
|
||||||
_navigation->showPeerInfo(user);
|
_navigation->showPeerInfo(user);
|
||||||
|
|
Loading…
Reference in New Issue