2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-09-05 00:55:12 +00:00

Fix Ctrl+Tab/Ctrl+Shift+Tab jumps in topics.

This commit is contained in:
John Preston
2022-12-06 14:32:34 +04:00
parent a1de77e8d2
commit 4db2b83c9b
2 changed files with 41 additions and 36 deletions

View File

@@ -1122,11 +1122,11 @@ bool SessionController::chatEntryHistoryMove(int steps) {
}
bool SessionController::jumpToChatListEntry(Dialogs::RowDescriptor row) {
if (const auto history = row.key.history()) {
showPeerHistory(
history,
SectionShow::Way::ClearStack,
row.fullId.msg);
if (const auto thread = row.key.thread()) {
showThread(
thread,
row.fullId.msg,
SectionShow::Way::ClearStack);
return true;
}
return false;