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
1 changed files with 7 additions and 4 deletions

View File

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