Fix boost group link handling for forums.

This commit is contained in:
John Preston 2024-04-19 15:25:52 +04:00
parent 63f66a1369
commit 56080bd0e4

View file

@ -572,7 +572,7 @@ void SessionNavigation::showPeerByLinkResolved(
info.messageId, info.messageId,
commentId->id, commentId->id,
params); params);
} else if (peer->isForum()) { } else if (peer->isForum() && resolveType != ResolveType::Boost) {
const auto itemId = info.messageId; const auto itemId = info.messageId;
if (!itemId) { if (!itemId) {
parentController()->showForum(peer->forum(), params); parentController()->showForum(peer->forum(), params);