mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +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 goToMessage = [=](const FullMsgId &itemId) {
|
||||||
const auto item = _history->owner().message(itemId);
|
const auto item = _history->owner().message(itemId);
|
||||||
if (item) {
|
if (item) {
|
||||||
_window->jumpToChatListEntry({
|
_window->showPeerHistory(
|
||||||
{ item->history() },
|
item->history()->peer->id,
|
||||||
item->fullId(),
|
::Window::SectionShow::Way::ClearStack,
|
||||||
});
|
item->fullId().msg);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue