2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Show user profile from Removed Users.

This commit is contained in:
John Preston
2019-06-05 21:30:34 +03:00
parent 4379fa2297
commit 126ffc8769

View File

@@ -1322,7 +1322,7 @@ void ParticipantsBoxController::rowClicked(not_null<PeerListRow*> row) {
const auto user = row->peer()->asUser();
if (_role == Role::Admins) {
showAdmin(user);
} else if ((_role == Role::Restricted || _role == Role::Kicked)
} else if (_role == Role::Restricted
&& (_peer->isChat() || _peer->isMegagroup())) {
showRestricted(user);
} else {