mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 13:47:05 +02:00
Open forum with topic by topic message link.
This commit is contained in:
parent
8e5fec2fa8
commit
ecf0eba0a5
1 changed files with 9 additions and 1 deletions
|
@ -568,8 +568,16 @@ void SessionNavigation::showPeerByLinkResolved(
|
|||
|
||||
const auto &replies = info.repliesInfo;
|
||||
if (const auto threadId = std::get_if<ThreadId>(&replies)) {
|
||||
const auto history = peer->owner().history(peer);
|
||||
const auto controller = parentController();
|
||||
if (const auto forum = peer->forum()) {
|
||||
if (controller->windowId().hasChatsList()
|
||||
&& !controller->adaptive().isOneColumn()) {
|
||||
controller->showForum(forum);
|
||||
}
|
||||
}
|
||||
showRepliesForMessage(
|
||||
session().data().history(peer),
|
||||
history,
|
||||
threadId->id,
|
||||
info.messageId,
|
||||
params);
|
||||
|
|
Loading…
Add table
Reference in a new issue