mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Open just topic in quick jump-to-last-topic click.
This commit is contained in:
parent
106bdae9ce
commit
4b5a0942b1
1 changed files with 3 additions and 1 deletions
|
@ -419,7 +419,9 @@ void Widget::chosenRow(const ChosenRow &row) {
|
||||||
? history->peer->forumTopicFor(row.message.fullId.msg)
|
? history->peer->forumTopicFor(row.message.fullId.msg)
|
||||||
: nullptr;
|
: nullptr;
|
||||||
if (topicJump) {
|
if (topicJump) {
|
||||||
controller()->openForum(history->peer->asChannel());
|
if (!controller()->adaptive().isOneColumn()) {
|
||||||
|
controller()->openForum(history->peer->asChannel());
|
||||||
|
}
|
||||||
controller()->content()->chooseThread(
|
controller()->content()->chooseThread(
|
||||||
topicJump,
|
topicJump,
|
||||||
ShowAtUnreadMsgId);
|
ShowAtUnreadMsgId);
|
||||||
|
|
Loading…
Add table
Reference in a new issue