Show full profile from group members list.

This commit is contained in:
John Preston 2021-10-25 09:47:04 +04:00
parent 2f4651fe6f
commit 94dc595a81

View file

@ -1435,10 +1435,13 @@ void ParticipantsBoxController::rowClicked(not_null<PeerListRow*> row) {
showRestricted(user); showRestricted(user);
} else { } else {
Assert(_navigation != nullptr); Assert(_navigation != nullptr);
AssertIsDebug(); if (_role != Role::Profile) {
_navigation->parentController()->show(PrepareShortInfoBox( _navigation->parentController()->show(PrepareShortInfoBox(
participant, participant,
_navigation)); _navigation));
} else {
_navigation->showPeerInfo(participant);
}
} }
} }