From 94dc595a819758210494961036c9417b9233479d Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 25 Oct 2021 09:47:04 +0400 Subject: [PATCH] Show full profile from group members list. --- .../SourceFiles/boxes/peers/edit_participants_box.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp index a336f7223..e4764ea0e 100644 --- a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp +++ b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp @@ -1435,10 +1435,13 @@ void ParticipantsBoxController::rowClicked(not_null 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); + } } }