mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Jump to date by date click in feed.
This commit is contained in:
@@ -2756,6 +2756,7 @@ void ApiWrap::requestMessageAfterDate(
|
||||
|
||||
void ApiWrap::jumpToFeedDate(not_null<Data::Feed*> feed, const QDate &date) {
|
||||
requestMessageAfterDate(feed, date, [=](Data::MessagePosition result) {
|
||||
Ui::hideLayer();
|
||||
App::wnd()->controller()->showSection(
|
||||
HistoryFeed::Memento(feed, result));
|
||||
});
|
||||
|
Reference in New Issue
Block a user