Support t.me/username?profile links.

This commit is contained in:
John Preston
2024-07-26 13:45:02 +02:00
parent 86cdda2277
commit db0856f71c
3 changed files with 6 additions and 1 deletions
@@ -577,6 +577,8 @@ void SessionNavigation::showPeerByLinkResolved(
info.messageId,
commentId->id,
params);
} else if (resolveType == ResolveType::Profile) {
showPeerInfo(peer, params);
} else if (peer->isForum() && resolveType != ResolveType::Boost) {
const auto itemId = info.messageId;
if (!itemId) {