mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fixed jumping to message from composed search.
This commit is contained in:
parent
290e8bb449
commit
ed356a1fc5
1 changed files with 4 additions and 4 deletions
|
@ -753,10 +753,10 @@ ComposeSearch::Inner::Inner(
|
|||
const auto goToMessage = [=](const FullMsgId &itemId) {
|
||||
const auto item = _history->owner().message(itemId);
|
||||
if (item) {
|
||||
_window->jumpToChatListEntry({
|
||||
{ item->history() },
|
||||
item->fullId(),
|
||||
});
|
||||
_window->showPeerHistory(
|
||||
item->history()->peer->id,
|
||||
::Window::SectionShow::Way::ClearStack,
|
||||
item->fullId().msg);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue