diff --git a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp index a336f7223b..e4764ea0e8 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); + } } }