2
0
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:
John Preston
2018-02-22 02:59:56 +03:00
parent f066f3f139
commit a1be63f890
6 changed files with 115 additions and 23 deletions

View File

@@ -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));
});