Open just topic in quick jump-to-last-topic click.

This commit is contained in:
John Preston 2022-11-21 16:43:50 +00:00
parent 106bdae9ce
commit 4b5a0942b1

View File

@ -419,7 +419,9 @@ void Widget::chosenRow(const ChosenRow &row) {
? history->peer->forumTopicFor(row.message.fullId.msg)
: nullptr;
if (topicJump) {
controller()->openForum(history->peer->asChannel());
if (!controller()->adaptive().isOneColumn()) {
controller()->openForum(history->peer->asChannel());
}
controller()->content()->chooseThread(
topicJump,
ShowAtUnreadMsgId);