2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-01 07:05:13 +00:00

Handle forum / topic links.

This commit is contained in:
John Preston
2022-10-14 18:34:04 +04:00
parent 16e189a2ce
commit ead427793b
6 changed files with 25 additions and 7 deletions

View File

@@ -343,6 +343,8 @@ void SessionNavigation::showPeerByLinkResolved(
info.messageId,
commentId->id,
params);
} else if (peer->isForum()) {
parentController()->openForum(peer->asChannel(), params);
} else if (bot
&& (info.resolveType == ResolveType::AddToGroup
|| info.resolveType == ResolveType::AddToChannel